-Displays the images like a slideshow,shows images to you one by one automatically.
-You can customize the image delay time. default is 3 seconds.
-You can play or stop the slideshow at any time.
-Supports play the slideshow in loop.
-Supports Geos_show_category addon. Detects category id automatically(optional).
Copy slideshow.php to addons directory.
<SLIDESHOW_META> - insert as a meta tag between <head> and </head> in image_template.html.
<SLIDESHOW_PLAY_LINK> - the link to play or stop slideshow.
<SLIDESHOW_PRELOAD_SCRIPTS> - a tag for preloading the next 2 images. suggest to insert it at the bottom of the webpage, for example, put it just before the tag </body> so that all things done before preloading the next 2 images.
-preload the next 2 images after page completely loaded.
-support GeoS_Show_Category addon.
-an image, which datetime is after the current daytime, will not be displayed.
-when goes to the first image posted and no loop, the link "Play slideshow" will be replaced with words "The end".
-one link acts as "play" and "stop" functions. Only one link!
-improvement:click "play" directly goes to next image. in the past version,it first refreshes the current image before goes to the next image.
-you can now set the slideshow plays in loop automatically. if no loop,the slideshow will stop at the first image posted.
by now, I have to use two link for "play" and "stop". hopefully someone can give an idea to use only one link that can do two actions.
a Loop option will be added in the future.
do you have a demo?
my site will be out till the end of June at least.
you can test it on your site,it won't take too much and won't make too bad.;)
you can check the codes,few lines only.
I have tested the addon for times on local pc.it works fine.
btw,any suggestion will be appreciated. whether works well or not, just let me know.
all right. check it out. i beautified the urls a bit and now it's running on a trial basis at least at http://photos.jlspurling.com/
- looping is required as an option. right now all that happens when it gets back to the first image posted is it redirects me to a 404. would be good if you could at least chose where it sends you for the last image.
- possibly implement an image preloader with the addon. for me it's not really a problem as i'm currently on super fast broadband but this would be a great feature nonetheless.
by the way - good work. i think meta refresh is the best way - much simpler and just as effective as all the ajax solutions etc discussed.
please read this guideline
specially take care of the title of your post
would you do me a favor?
yeah! updated. Only one link!
one link acts as "play" and "stop" functions.
it's simple,but I had thought it for such a long time.
@ joe[y]: beautiful photo ("stripping minds")!!! ..the addon looks great on your site too.
thanks for this jdleung, been following this discussion for a while (on the other thread) with great anticipation. will try it out first chance i get.
|All times are GMT. The time now is 06:23 PM.|
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.