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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 3 Guests are viewing this topic.

Cath22

Quote from: SaWey on November 13, 2008, 09:17:29 PM
To have 2 slideshow options, undo the changes you made to enable the lightbox slideshow with the slideshow button.
Then, if you already have $template_img_navbar template, replace it with the one below
(if you don't have it yet, just paste it in your theme somewhere at the top)
This way, people who have javascript enabled will see the lightbox slideshow, and people who don't have it, will see the regular slideshow.

Ok the title remove works great.

To have 2 slideshow options, I got error message about report file button, but added those line from the themes.inc.php

When NOT logged in I get error message upon clicking the foto to get intermediate... :
Template error
Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button -->)(.*?)(<!-- END ecard_button -->)#s) in :

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="images/folder.gif" width="16" height="16" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" class="navmenu_pic" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{SLIDESHOW_TGT}" class="navmenu_pic" rel="lightbox[list]" title="{SLIDESHOW_TITLE}"><img src="images/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" witdh="100%">
                        {PIC_POS}
                </td>
<!-- BEGIN report_file_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="images/report.gif" border="0" align="absmiddle" alt="{REPORT_TITLE}" /></a>
                </td>
<!-- END report_file_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="images/prev.gif" width="16" height="16" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>


I take it has something to do with the function disabling the ecard function since When logged in that doesnt happen since the e-card button is now present and the intermediate picture is presented.
Upon clicking the foto the Lightbox function works as useall since I have Java working.

BUT upon clicking the slideshow button i get a small starting box with image circling but nothing happens, upon clicking this you get returned..... ?????
so its not quite working (I havent tried without java since i have to find first how to disable this)

This is the site: http://www.fotofantastic.nl

By the way, I saw with debug on following message:
/themes/rainy_day/theme.php

    * Notice line 279: Undefined variable: picList
qui custodiet ipsos custodes

Cath22

Ok, I have the template error fixed, it was only needed to add the lines <!-- BEGIN ecard_button --> <!-- END ecard_button --> into the theme.php at the part of the menu_bar.

But the Slideshow button still gives a problem.

Thanks in advance
Greetz Cath

qui custodiet ipsos custodes

SaWey

Sorry for the Template error, I used an old template for that, I have updated the code in my previous post.

I'm also updating the instructions for the correct link, I made a mistake in that on as well :)
[edit:] I edited the instructions.

Cath22

Quote from: SaWey on November 16, 2008, 09:55:15 PM
Sorry for the Template error, I used an old template for that, I have updated the code in my previous post.

I'm also updating the instructions for the correct link, I made a mistake in that on as well :)
[edit:] I edited the instructions.

Thanks, that worked great, the only thing I see since I removed the title, sometimes it just shows just like 1 from 7, and other times it says slideshow and on the next line 1 from 7. Nothing problematic, just strange that it is on/off.

Is it also possible to disable the one when clicking on the photo, since now with the slideshow button I dont see the need for it, without disrupting the system offcourse.

And another thing, I noticed the timeout setting from the config does not work, i changed it to 10 seconds, (10000), but in time I saw nothing change.
But when a photo takes sometime to load the background is rather white, that really flashes from the screen, is it possible to change that colour??
For instance to gray or black...

qui custodiet ipsos custodes

Cath22

Hi there I noticed some other strange behaviour from the lightshow when used through the slideshow button, it opens the first picture in intermediate format, then when you click play, it reloads the first picture in bigger format (the way it should have been in the first place), this also means that in my case instead of 7 pictures, it states there are 8 pictures.....

When clicked on the picture it opens the lightshow inmidiatly with the bigger format. So there is a difference in operating.
qui custodiet ipsos custodes

Cath22

Quote from: Cath22 on November 17, 2008, 09:39:32 PM
Thanks, that worked great, the only thing I see since I removed the title, sometimes it just shows just like 1 from 7, and other times it says slideshow and on the next line 1 from 7. Nothing problematic, just strange that it is on/off.

Is it also possible to disable the one when clicking on the photo, since now with the slideshow button I dont see the need for it, without disrupting the system offcourse.

And another thing, I noticed the timeout setting from the config does not work, i changed it to 10 seconds, (10000), but in time I saw nothing change.
But when a photo takes sometime to load the background is rather white, that really flashes from the screen, is it possible to change that colour??
For instance to gray or black...



Let me rephrase this post; I want to use the prevent right click from stramm (http://forum.coppermine-gallery.net/index.php/topic,32548.0.html)
It creates a empty image with the picture so that the picture itself is somewhat protected to unauthorized copying (both on intermediate and full picture level). However this collides unfortunately with the normal working of the lightbox, since this also activates upon clicking the intermediate. The showing of the full picture would in that case also somewhat protected I guess, but the intermediate is not protected.
If there is no solution I would have to revert to something else for either one of them.

And another thing, I noticed the timeout setting from the config does not work, i changed it to 10 seconds, (10000), but in time I saw nothing change.
But when a photo takes sometime to load the background is rather white, that really flashes from the screen, is it possible to change that colour??
For instance to gray or black...
qui custodiet ipsos custodes

tardis1916

Ok guys, now that I've got it working, thanks alot on that by the way. I have a question. I know the slideshow won't work with videos, however, one my galleries has some video catagories and I was wondering if there was a way to turn off the slideshow in those catagories? I noticed that the videos weren't working so I disabled the slideshow for now until someone comes up with an idea. (If possible)

you can check out that gallery here; http://www.tardis1916.com/dragoncon/index.php

I know this might be a mind bender so I offer a heartfelt thanks and I have a bottle of asprin for those who need it ;-)
"How could you be ringing? What that's about... Ringing? What am I supposed to do with a ringing phone?" Christopher Eccleston - Doctor Who

dcb0284

I implemented this a while ago but did not realize my count was not working correctly.  When you click on a image that isn't the first image to view in lightbox it starts the count over so the images will start over in the slide show.  For example if I'm on image 50 of 100 it will start back over at 1 instead of going to 51 when I click next.  Since our gallery is private just ask and I will set you up a user and send the user info and url in pm.  I would appreciate any help though.  I have been trying to trouble shoot this myself and have not been able to correct it.  I didn't see anyone else having this problem.

SaWey

Go ahead, send me the info so I can take a look.

MikeFL

I tried this mod, read all the pages, and found someone touched on this issue, but I could not locate an answer.

I just installed Coppermine (latest release) after using Gallery2 for a year.  I have it in a subdirectory for testing purposes.  I am using the i3theme (Midnight).  I modified the files according to this thread - I hope.

Here's the problem...

When at the home page, there are thumbnails for "Random Files" and "Last Additions".  If I click any of the thumbnails, I get the following:  "Critical error
There was an error while processing a database query".

I get this error from the home page thumbnails and when clicking on the thumbnails on any of the category "Random Files" and "Last Additions".  However, when I click to go to album and view the album images, those thumbnails work fine.

The URLs that do not work seem to all have "...?album=random..." or "...?album=lastup..." in them.

Any ideas? 

Help is appreciated.  Thank you!
Mike

(test installation)  http://www.thephotositook.com/cpg

MikeFL

I can't edit my previous post?

Update:  I went to another thread to install the lightbox (lightbox JS for fullsize image) without the slideshow.  It works fine.

Cath22

Is there no answer to this one?

Is it also possible to disable the lightbox one when clicking on the intermediate photo, since now it works with the slideshow button. I would like to use on the intermediate the prevent right click from stramm (http://forum.coppermine-gallery.net/index.php/topic,32548.0.html).
However this collides unfortunately with the normal working of the lightbox, since this also activates upon clicking the intermediate.
Please let me know if there is or is no solution.

Thanks
Cath
qui custodiet ipsos custodes

RoCkR

Hello and thanks for mod is very very good, and it is a option to integrate in next versions of cpg, but i have a problem  :(

Quote from: Cath22 on December 19, 2008, 03:15:44 PM
Is there no answer to this one?

Is it also possible to disable the lightbox one when clicking on the intermediate photo, since now it works with the slideshow button. I would like to use on the intermediate the prevent right click from stramm (http://forum.coppermine-gallery.net/index.php/topic,32548.0.html).
However this collides unfortunately with the normal working of the lightbox, since this also activates upon clicking the intermediate.
Please let me know if there is or is no solution.

Thanks
Cath

I have the same problem, but i doesn't use the stramm mod (http://forum.coppermine-gallery.net/index.php/topic,32548.0.html), i used the RC Menu plugin (http://forum.coppermine-gallery.net/index.php/topic,33377.0.html), and the full-size access plugin, these two last aren't working... (site: http://www.macarenissima.com/galeria/).

Thanks for reply and happy new year!

SaWey

I don't have an answer for your question as I dropped development of this plugin. I am working on a new one for the next version of Coppermine that will be much easier to configure and do all the things you want.

You'll have to have a little patience...

RoCkR

Quote from: SaWey on January 07, 2009, 11:16:52 AM
I don't have an answer for your question as I dropped development of this plugin. I am working on a new one for the next version of Coppermine that will be much easier to configure and do all the things you want.

You'll have to have a little patience...
Sugestion: Please use SexyLightBox, (link) a clone, sexier and more lightweight, the classic Lightbox. It was built thinking of the web designers, easy to install and use.

SaWey

I'm currently coding my own port to jQuery, which will be lightweight, but can grow when needed as well.

nmdilipsimha

Thanks for this excellent tool. I successfully saw the full screen slideshow on my coppermine gallery.
But after some time, the slide show feature is not working!

I have attached my theme.php and template.html.

My gallery: http://dilip.nijagal.com/photo_gallery/thumbnails.php?album=5

nmdilipsimha

I just replaced the lighbox_s.js file with original copy and it started working again.
In the diff, I found no changes though!

I have another issue:
Slideshow is very slow. It keeps loading for a long time.
Any bug there?

SaWey

@nmdilipsimha:
The slow loading probably is because the full size images take some time to load, try loading one (i.e. http://dilip.nijagal.com/photo_gallery/albums/mumbai_trip/malshej/DSC06107.JPG) in your browser and you'll see what I mean.

Pascal YAP

Yes Sander.
Probably some Cumulo-Nimbus (CuMb) (clouds  ;D )
Very heavy and dangerous clouds  ;)