The 30 images slideshow bug with PicLensLite

westor

Joined: 2009-05-23
Posts: 21
Posted: Fri, 2009-06-19 10:02

I was investigating a little bit - and as I notices, the slideshow in G2 runs well with more then 30 Images.
Now I changed the lines in slideshow_theme:
return "<script src=\"$proto://lite.piclens.com/current/piclens_optimized.js\"" .
"type=\"text/javascript\"></script>";

to point to a local url:

return "<script src=\"/js_css/piclens_optimized.js\"" .
"type=\"text/javascript\"></script>";

I downloaded und dropped the necessary files:

piclens_optimized.js
NoFlash.jpg
PicLensLite.swf

in
/js_css/

and the lytebox to

/lytebox/

Then I relaized, that the actual PicLensLite.swf really seem to have some problems.
So I downloaded the version, used in G2, and replaced it.

I think you can use these information to bundle this in the correct module directory and have a running version of the slideshow.

See attached file. And don't forget to pic lytebox.

Cheers
Torsten
http://www.urlaubszeit.de/
http://www.fitnesswelt.com/
http://www.single-datingboerse.de/

 
westor

Joined: 2009-05-23
Posts: 21
Posted: Fri, 2009-06-19 10:05

Ups - attachement of files didn't work:
The selected file /tmp/tmp_Nn1Mlx could not be uploaded, because the destination files.zip is not properly configured.
Please ask me to send this via email if you need.
Torsten

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-06-19 17:27
 
euz

Joined: 2009-07-21
Posts: 1
Posted: Tue, 2009-07-21 02:32

Hello,

I m happy I have found this thread about this problem.
It helped me find the solution below (I couldn't find this solution anywhere else):
So my 2 cents to workaround this problem is to modify the file gallery3/modules/rss/controllers/rss.php and replace the 21st line "public static $page_size = 20;" with "public static $page_size = 100;" (or whatever your max photos in an album is).

The counterpart is that each page from the rss feeds now list 100 entries, maybe you'll find it annoying (I don't :) ).

Yoann.