Update for the new slideshow module for Gallery 2.3 I've added the ability to set max image width and height returned by the slideshow. This is the version that was reviewed and will eventually end up in DP.
Authored by: suprsidr on
Monday, October 27 2008 @ 11:18 AM PDT
This is the same slideshow as provided with gallery 2.3 but wit a few new admin options.
simply replace the older version, and clear gallery's template cache.
Authored by: Anonymous on
Tuesday, December 02 2008 @ 12:00 PM PST
Hello,
I tried to get your files (which worked ofcourse), moved them over my old slideshow module and upgraded to your version.
I am using a Mac (Mac os X) and Safari cannot handle the slideshow with these changes (it works with the default slideshow, which has it's own problems as we know). When I try the same URL with Firefox, it just works out of the box.
Suggestions?
Best regards,
Remko Lodder
www.evilcoder.org has a blog page about this and suggested to use the improvements from superspidr, this is how i came here.
Authored by: Anonymous on
Friday, November 07 2008 @ 05:12 PM PST
Hi, I'd love to be able to use this module, but I'm running into a problem and I appreciate if you could kindly guide me in the right direction. I replaced slideshow under modules with v0.9 of yours, however all I get is a blank page when I browse my gallery, I can't even get to the maintenance page or any page for that matter. I even tried clearing the cache prior to replacing the module, still no go I looked at the differences between your module and the original that I had with gallery 2.3 and I noticed that the locale was missing from yours, I copied it from the original, but that didn'e help either. One glaring difference is that, my version of slideshow reads (in module.inc file) @version $Revision: 18100 $this->setVersion('2.0.0'); Whereas yours reads: @version $Revision: 18072 $ $this->setVersion('1.0.12'); could it be possible that yours is based on an older version of slideshow hence the outcome. Thanks in advance
Authored by: Anonymous on
Friday, November 07 2008 @ 06:17 PM PST
Thanks for a prompt reply.
That's exactly what I did.
I removed slideshow dir from modules, and unzipped what I downloaded from here into modules
effectively replacing one with the other.
I even tried uninstall option / delete option from the administrator page all to NO success.
Am I missing something?
Authored by: suprsidr on
Friday, November 07 2008 @ 08:03 PM PST
You must be using gallery2 2.3.
My modifications certainly should not cause a blank page.
so to be clear you should now have
/gallery2/modules/slideshow - not slideshow_09
and inside slideshow you should have classes, templates, data, po .....
If there are any php errors your apache logs should indicate so.
Authored by: Anonymous on
Friday, November 07 2008 @ 10:18 PM PST
Thanks again suprsidr
right I'm using Gallery2 2.3
and I have modules/slideshow and not modules/slideshow_09
It turns out that unzip on the nix hasn't kept the case sensitivity.
I fixed that and the blank page problem went away.
However Gallery wanted me to upgarde slideshow from 1.0.12 to 2.0.0
even changing the version in module.inc didn't help
I uninstalled and deleted the module, placed the new module and reinstalled it.
Gallery is now happy, and I do see your additions in the plugin setup
however I'm not seeing speed improvement in piclens
I resize my photos to 700x700 which is also what I set in the slideshow plugin, however I also keep full res photo download link (3504 x 2336)
Piclens is behaving as if it is loading the full res photos. (takes over 10s per photos)
Authored by: suprsidr on
Friday, November 07 2008 @ 10:34 PM PST
The slideshow module does not build resizes.
Edit your albums to include resizes.
Remember to check the boxes:
Apply album setting to resized images ... and for all subalbums... Build resizes too
Authored by: Anonymous on
Saturday, November 08 2008 @ 08:58 AM PST
Of course, I know that.
Browsing my gallery without piclens is super fast, all the resizes are there, however browsing via piclens is very slow, that's what makes me suspect that perhaps piclens is not picking up the smaller images and instead is picking up the full res ones.
I even included a 480x480 resize and rebuild it all.
No difference.
Unless of course piclens in inherently much slower than gallery, but by so many factors? doesn't make sense.
In slideshow settings I have target size set to 480 x 480 (saved)
and my album sizes are set to:
700 x 700
480 x 480
if the slideshow setting is supposed to limit it to 480 x 480 (ie not pick photos larger than that) why is it picking up 467 x 700 images instead of 320 x 480 images.
changing slideshow settings to 320 x 320 retrieved no images in the feed.
Authored by: Anonymous on
Saturday, November 01 2008 @ 02:09 AM PDT
Hi suprsidr,
I have download and replaced the package, cleared the template cache.... Now, I have got serious trouble with the Plug-in Page.
When I click on "Site Admin -> Plugins", I got http 500 error. The Slideshow option has gone no where. It looked like that the slideshow module cannot be properly registered.
I am also having problem fallback to the original slideshow package. Please help. Regards,
Authored by: Anonymous on
Saturday, November 01 2008 @ 02:41 AM PDT
Hmm... I know what the problem is... I cannot leave the original package in the modules folder (even I have it renamed to slideshow.original). When I move it to somewhere else... things seems restored normal. Will be testing the slideshow, see if it can get pass the slide 25.
Authored by: Anonymous on
Friday, November 07 2008 @ 07:04 PM PST
I noted another issue with the slide show... In an album with say 70 photos and 50 thumbnails fit on one page (theme setup). So, there are 20 thumbnails on page 2. Open #1 to #50 in the photo page, then click to start the slideshow, the slideshow will start at current photo. Goto the 2nd thumbnail page, open #51 to #70, the slideshow will start from photo #1. In that sense, there will only slideshow for the 1st page of thumbnail. There was no slideshow for subsequent pages. Cheers,
Authored by: Anonymous on
Saturday, December 13 2008 @ 12:09 AM PST
Thanks Suprsidr,
I have tried the version 0.93... but for some reason, it seems to cause the whole system running fairly fairly slow... Not only Gallery itself, but the OS as well... some command virtually has no response on the console. having problem stopping the apache or restarting linux....
Authored by: suprsidr on
Monday, December 22 2008 @ 07:11 AM PST
I really wish youd comment here like I request on the download page as you will not get notification of my replies.
But thanks for the feedback and I will address these issues.
Authored by: Anonymous on
Tuesday, December 23 2008 @ 04:46 AM PST
Thanks Suprsidr,
I have tested the new version 094. It worked perfect.
It seems to have clear the other problem that I have, but still need some more tests to confirm. With 093, when I try to rebuilt the thumbnail and resizes, it sometimes drop out and said there is an unknown error. After upgrade to 094, the built was successful. Since it took long time to rebuilt all the photos, I have not had a second try yet.
Authored by: suprsidr on
Tuesday, December 23 2008 @ 05:22 AM PST
I'm glad .94 fixed your issues, but as stated before the slideshow module has absolutely nothing to do with building thumbnails or resizes.
After a frustrating lenghtly review, I was asked to backout my changes and re-submit four separate times "incrementally" re-adding my improvements. I just passed it on to them to do. - Rediculous!
So who knows how long it will take for this new code to become part og G2.
Authored by: ben on
Friday, November 27 2009 @ 09:20 AM PST
I am running Gallery 2.3 and had the standard PicLens slideshow installed. This worked fine when called from both albumpages and searchpages.
Next I completely removed 'slideshow'. Downloaded and installed your .95 version. Again working great with albumpages. But when calling the slideshow from the SearchScan view a blank page is delivered and following message in the log:
[Notice] Undefined variable: item in file /var/www/html/gallery/modules/slideshow/Slideshow.inc on line 93
Referer:
http://testserver/gallery/main.php?g2_return=%2Fgallery%2Fmain.php&g2_formUrl=%2Fgallery%2Fmain.php&g2_authToken=74f7938
Details:
Undefined variable: item Request variables: Array ( [return] => /gallery/main.php [formUrl] => /gallery/main.php [authToken] => 74f79380c867 [controller] => search.SearchScan [form] => Array ( [formName] => SearchScan [searchCriteria] => hanz [options] => Array ( [GalleryCoreSearch] => Array ( [descriptions] => on [keywords] => on [summaries] => on [titles] => on ) ) [action] => Array ( [slideshow] => Bekijk deze resultaten in een diashow ) ) [itemList] => 985|981|977|973|969|965|961|957|..etc... )
Any sugestions where to start solving this? I would hate having to revert back to the version delivered with the G2 package.
Authored by: Anonymous on
Sunday, November 29 2009 @ 05:32 AM PST
Installed this new one and it works great!
Only issue is with vertical photos outside of fullscreen mode - that title bar and the thumbnails on the bottom overlay on top of the image, making it look like the image itself were cropped badly. I've received several complaints already from photographers whose photos I use about their photos appearing cropped / having heads cut off due to the title bar.
Any way to have the full image appear within the imaginary frame created by the title bar and thumbnails?