LightBox JS for Fullsize Popup Slideshow - Page 10 LightBox JS for Fullsize Popup Slideshow - Page 10
 

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]

Main Menu

LightBox JS for Fullsize Popup Slideshow

Started by SaWey, January 08, 2008, 01:01:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joachim Müller

Please start a separate standalone thread on the plugin board with your plugin announcement. A moderator will move it accordingly. Here in this thread online the mod flavor should be discussed, as we're trying to keep mods and plugins separated.

crvh

Woo hoo!! Thanks for the mod, I have just switched to Coppermine and REALLY wanted to figure out how to make lightbox work.  I tried some other manuel fixes but not having a lot of time to trouble shoot, this one worked FIRST TIME!yay! :D

donsenilo

hello

some prob with slideshow and slider.

i've wrote in the slideshow-thread:
"when i click on a pic in the slider i get an database-error (Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten).
i use the slideshow-mod, not enlargeit. could this be the problem ?"

and i get this answer: "This thread is about the plugin, not the mod. Go to the mod thread."

so i would be very happy if someone could help with this and don't say, i should "go" somewhere else  :-\

thx.

donsenilo

sorry ... i mean "slider-thread" ... it's late ...

Quote from: donsenilo on July 05, 2009, 11:39:39 PM
hello

some prob with slideshow and slider.

i've wrote in the slideshow-thread:
"when i click on a pic in the slider i get an database-error (Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten).
i use the slideshow-mod, not enlargeit. could this be the problem ?"

and i get this answer: "This thread is about the plugin, not the mod. Go to the mod thread."

so i would be very happy if someone could help with this and don't say, i should "go" somewhere else  :-\

thx.

SaWey

I have no idea what slider you are using, can you give a link to your gallery?

donsenilo


donsenilo

hello again

problem solved !

it was the "old" random problem:

I found this to solve the problem and now it works:

In your file include/functions.inc.php find
Code:
$query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET ORDER BY RAND() $limit_random";

Change to:
Code:
$query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET ORDER BY RAND() $limit";


phatair

Hi,
first of all - thanks a lot for this great modification!!
But i have one problem - all pictures that i show with this lightbox are much more darker then the original picutre. is there any parameter where i can change this?
You can have a look here/url]

I hope somebody can help me.
best regards

phatair

Hm...ok this problem is only with FireFox on my desktop PC. With IE on my desktop PC all is fine and on my notebook its ok on the firefox, too. So i dont know what this is ...

pie86

Hi everybody,
I applied this mod to cpg 1.4.25 and I encountred the same old problem of random photos and last posted photos. Noone of the solution proposed worked! The solution was modifing the theme.php like this:

version proposed in the mod:


function lightbox_list($picId) {
################################################
//Set max number of images
$max = 100; //(-1 for all pics in album)
################################################
    global $lang_display_image_php, $CONFIG;
$i = 0;
$pid = $picId['pid'];
$aid = (empty($_GET['album'])) ? $picId['aid'] : $_GET['album'];



corrected versione:

function lightbox_list($picId) {
################################################
//Set max number of images
$max = 100; //(-1 for all pics in album)
################################################
    global $lang_display_image_php, $CONFIG;
$i = 0;
$pid = $picId['pid'];
$aid = (empty($_GET['album']) || $_GET['album']=='random' || $_GET['album']=='lastup') ? $picId['aid'] : $_GET['album'];


bye bye
pietro

ps: I apologize for my bad English!

Joe Carver

Nice work - I was just now able to apply your mod. to the LightBox plugin.

It seems to solve the same problem there too.

purplefreak3

Hello I was wondering if possible could give me any help with this lightbox mod, it is very nice mod but when I use Internet explorer I can not view the flash files in the gallery all I get is a blank screen but can hear audio. If I use firefox then it works fine.

I have these mods currently installed.
Another FLV Player
LightBox JS for Fullsize Popup Slideshow

Uninstall Mods
Enlargeit

I was going to disable Enlargeit (even uninstalled it) but even when that still get a blank page when viewing flash files, images all work fine. Well after working with the code and pulling different code off I found that everything works if I do not use the Lightbox, but once I add the lightbox the flash files will no longer work (even if enlargeit is uninstalled). So I am guessing there is a conflict between the "Another FLV Player" and the "LightBox JS for Fullsize Popup Slideshow" mods.

If you need this information I am not trying to use the lightbox for the video files only the images. Does anyone know about this kind of problem? if so is there a solution like changing piece of the code?

Links to gallery

Regular user one (set up without lightbox)
http://www.beautifuljodelle.com/gallery/index.php?theme=default

One with lightbox set up
http://www.beautifuljodelle.com/gallery/index.php?theme=image_media

Besides the gallery banner and color of the site and of the course the code for lightbox the coding of the two are the same.

Please and Thank You for any help.