Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 [3] 4 5 6 7 ... 10   Go Down

Author Topic: LightBox JS for Fullsize Popup Slideshow  (Read 241449 times)

0 Members and 2 Guests are viewing this topic.

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #40 on: January 22, 2008, 11:20:31 pm »

As I told you, you'll have to figure that out for yourself, as I haven't used slimbox before.
I don't have the time to look into that.
Logged

eK3eKyToPa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #41 on: January 24, 2008, 10:48:15 am »

OK, now it works fine, with slimbox,
looks just the same way
But is there any way this to work with 'External Images Links / Use "remote" storage servers'
I tried but nothing figured out.
Logged

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #42 on: January 25, 2008, 03:52:04 pm »

My CPG is integrated with Joomla and when I try to install this mod I get a blank page. I think is something wrong with theme.php because when i replace this file with the original one the problem is gone and the mod doesn't work. Pls if you can take a look at me theme.php
Thanks.
Logged

Nibbler

  • Guest
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #43 on: January 25, 2008, 04:01:57 pm »

You have theme_html_picture() in there twice.
Logged

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #44 on: January 26, 2008, 12:39:42 am »

Thanks Nibler.
Removed that code but the problem still remains.
Logged

Nibbler

  • Guest
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #45 on: January 26, 2008, 01:00:02 am »

When I remove that code the file is fine. Maybe you have plugins interfering. Try disabling them temporarily.
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #46 on: January 26, 2008, 01:38:19 am »

There have been problems with Joomla integrations before,
Like Nibbler said, double check if no other mod/plugin is interfering with this one.
Most problems like this occur when using some javascript framework like mootools,
if this is the case, the solution might already be in this thread.
Logged

LauriN

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #47 on: February 07, 2008, 01:59:30 am »

I don't know why, but I can't download your script. I get the error message "An Error Has Occurred!
You are not allowed to access this section" :(
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #48 on: February 07, 2008, 02:06:44 am »

The file linked to the wrong attachment, fixed it, please try again.
Logged

LauriN

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #49 on: February 07, 2008, 10:43:19 am »

Thanks, now everything works! :)

I've just installed your script and have to say that it is great! I've just found a minor "bug", but maybe it is a bug of Lightbox itself. If I view my pictures with Firefox, they do not get displayed in Fullsize, but slightly resized which makes them look a little bit "grainy". With Opera they are displayed correctly (I'm using Linux and can't test it with IE at the moment). You can view my gallery here: http://reitterer.net/gallery/

BTW: I've bridged Joomla and Coppermine too using the bridge http://www.mehdiplugins.com/misc/index.htm and everything seems to work fine with the Coppermine Lightbox script so far. :)
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #50 on: February 07, 2008, 11:26:17 am »

It's a lightbox thing, look at this post how to disable the auto resizing.
Logged

LauriN

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #51 on: February 07, 2008, 11:36:08 am »

Thanks! I should have read the thread more carefully. :)
Logged

hell

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Your Hardware Madness
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #52 on: March 01, 2008, 04:01:32 pm »

I have an error

Fatal error: Cannot redeclare theme_html_picture() (previously declared in D:\server\Abyss Web Server\htdocs\host_pictures\themes\fruity\theme.php:37) in D:\server\Abyss Web Server\htdocs\host_pictures\themes\fruity\theme.php on line 396
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #53 on: March 01, 2008, 09:51:35 pm »

The theme you are using already has some of the content you had to paste in your theme.php, you'll have to change it manually.
Look at the differences of the function theme_html_picture() in 'include/theme.inc.php' and the one you have pasted in your theme.php.
The remove the theme_html_picture() function you pasted in your theme.php, look for that existing function and only add the differences you noticed.
Logged

hell

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Your Hardware Madness
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #54 on: March 02, 2008, 02:31:06 am »

Then:

Code: [Select]
Parse error: syntax error, unexpected '}' in D:\server\Abyss Web Server\htdocs\host_pictures\themes\fruity\theme.php on line 206
Line 206

Code: [Select]
return template_eval($template_display_media, $params);  204
}  205
         } else {  206
$pic_html = lightbox_list($CURRENT_PIC_DATA);
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #55 on: March 02, 2008, 12:02:30 pm »

Can you post your theme.php, that'll be easier
Logged

hell

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • Your Hardware Madness
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #56 on: March 02, 2008, 03:53:22 pm »

OK

Thank You
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #57 on: March 02, 2008, 04:51:13 pm »

I changed your theme.php, download and replace your theme.php
Logged

HighlanderICT

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #58 on: March 05, 2008, 06:24:10 pm »

installed this as per instructions and it seems to be correct but when clicking on an image i go from an error free page to one where firebug just scrolls infinitely with the attached error ... please help.

Setup
Joomla 1.5.1
CPG 1.4.16
Mehdi's Bridge

Installed Plugins
Final_Extract v2.2     
File to Album mover v0.1   
Name CPGMassImport v2.0

Attachments
error.gif - copyof firebug screen
theme.php - basically a copy of the one from waterdrop theme but with edits for this mod.


Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #59 on: March 05, 2008, 06:52:42 pm »

A link to your site would be easier
Logged
Pages: 1 2 [3] 4 5 6 7 ... 10   Go Up
 

Page created in 0.024 seconds with 20 queries.