View Full Version : Slideshow addon
jdleung
05-24-2006, 03:04 PM
version 1.0.4:
-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).
-Preload images(optional).
demo site (http://www.jdleungs.com)
download here:
http://www.pixelpost.org/v1/index.php?x=downloads&details=173
Installation:
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.
1.0.4 changes:
-preload the next 2 images after page completely loaded.
-support GeoS_Show_Category addon.
1.0.3 changes:
-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".
1.0.2 change:
-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.
1.0.1 change:
-you can now set the slideshow plays in loop automatically. if no loop,the slideshow will stop at the first image posted.
jdleung
05-24-2006, 03:23 PM
I found many people discussing Slideshow, so it's just a try.I don't know if this is a good solution that using meta tag to redirect the page.but it's the best way I can find. need no javascripts,ajax,lightbox.
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.
have fun.
Joe[y]
05-24-2006, 04:19 PM
do you have a demo?
jdleung
05-24-2006, 04:34 PM
sorry Joe[y]
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.
Thanks.
Joe[y]
05-24-2006, 06:29 PM
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/
bugs/features:
- 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.
jdleung
05-24-2006, 11:21 PM
']
- 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.
you got 404? in the 1.0 version,without loop it only keeps on refreshing the image even if it goes to the first image posted(what I said "the last")
']
- 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.
could you give me more suggestion on this?
Thanks.
raminia
05-24-2006, 11:22 PM
please read this guideline
http://forum.pixelpost.org/showthread.php?t=3724
specially take care of the title of your post
jdleung
05-24-2006, 11:40 PM
specially take care of the title of your post
raminia, the title had been changed. but it displays the original in thread list.
would you do me a favor?
Thanks.
jdleung
05-24-2006, 11:43 PM
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.
cheer!
ranko
05-25-2006, 06:38 AM
@ 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.
cheers!
namaste
05-25-2006, 08:17 PM
Wahoo Wahoo! C'est le top of the pop!
It's wonderful. Good job!
namaste
05-25-2006, 08:20 PM
Many thanks! trop fort. It's great. It was my dream.
Wooooooooooooo!
Joe[y]
05-25-2006, 09:02 PM
you got 404? in the 1.0 version,without loop it only keeps on refreshing the image even if it goes to the first image posted(what I said "the last")
probably to do with me playing around with the urls. if it works normally then it's not a problem - i'll just modify my own version so it works with my urls.
ranko
05-26-2006, 03:02 AM
testing it out now, works great! ...until it gets to the end (first post). then i get the "coming soon! nothing to show here!" screen. didn't alter the addon in any significant way, so i don't think it's isolated to joe[y]'s case.
other than that i think it works pretty well!
edit:
i should add that i have the wraparound addon installed (clicking "next" from the latest photo brings you to the first post, clicking "previous" from the first post brings you to the latest photo). don't know if that makes a difference, but just in case...
jdleung
05-26-2006, 03:17 AM
testing it out now, works great! ...until it gets to the end (first post). then i get the "coming soon! nothing to show here!" screen.
I check your site. at the end the image id goes to "showimage=59",but I found no such image in archive.
ranko
05-26-2006, 03:23 AM
at the end the image id goes to "showimage=59",but I found no such image in archive.
yes, as of today i only have until #58 posted--error is probably due to a conflict with the wraparound addon i mentioned above. will uninstall it and let you know how it works out. thanks!
jdleung
05-26-2006, 03:41 AM
btw, since you place the "play" & "stop" link at bottome. it' a little hard to catch the link when I want to stop, especially when the image is a portrait size. if you set a fast speed, image will refresh again when vistor is going down to catch the "stop" link, and the position of the link changed according to the image height.
ranko
05-26-2006, 03:54 AM
btw, since you place the "play" & "stop" link at bottom...
yes you are absolutely right, am still working that out. thanks for the input! :)
i tried turning the slideshow loop off ("$loop = 0;" is this correct?) but then i get the "don't do that!" 404 after the first image. i am convinced the wraparound addon is the culprit, as the slideshow seems to be looping perfectly well over at namaste's site. is it one or the other, then? or would it be easy enough to somehow integrate the two? :D
jdleung
05-26-2006, 05:40 AM
testing it out now, works great! ...until it gets to the end (first post). then i get the "coming soon! nothing to show here!" screen.
you must had uploaded an image for the future.
and I forgot to limit the addon to search images after today.:rolleyes:
it will be updated soon.
Thanks.
jdleung
05-26-2006, 07:08 AM
it seems pp also displays future image when input "index.php" without "showimage=id" behind.
Joe[y]
05-26-2006, 07:39 AM
it seems pp also displays future image when input "index.php" without "showimage=id" behind.
it shouldn't do that with just index.php. are you logged into you admin or something?
jdleung
05-26-2006, 08:33 AM
']it shouldn't do that with just index.php. are you logged into you admin or something?
I meant vwww.mysite.com/index.php or vwww.mysite.com
jdleung
05-26-2006, 08:44 AM
addon updated.
posefius
05-26-2006, 11:11 AM
Dear Jdleung,
This is a great addon, just what I wanted. I like the simplicity of it!
jdleung
05-26-2006, 11:40 AM
glad you like it!:)
Vernon.Trent
05-28-2006, 09:12 PM
installed & works great.
thank you!
*cheers*
jdleung
05-29-2006, 05:07 AM
addon updated.
-Supports Geos_show_category addon. Detects category id automatically(optional).
-Preload 2 images(optional).
have fun.
Joe[y]
05-29-2006, 02:07 PM
loving the mods you've made. brilliant addon - my favourite yet.
jdleung
05-30-2006, 11:19 AM
Thanks.:)
jdleung
07-08-2006, 05:49 PM
here is the demo site (http://www.jdleungs.com)
batts_
07-14-2006, 01:37 AM
i have a question. how do you get it to look like it does on your site? i downloaded it and uploaded it and editted what we are allowed to edit..and sorry, but it doesn't look good.
jdleung
07-14-2006, 02:10 AM
the slideshow addon will not change the template design except the its playing link. what look do you want?
can you give your site link?
jchoi
10-14-2006, 09:30 PM
nice addon, nice job jdleung!
question, how can i activate the loop option and chage image delay time?
thanks.
Vernon.Trent
10-14-2006, 11:01 PM
nice addon, nice job jdleung!
question, how can i activate the loop option and chage image delay time?
thanks.
open slideshow.php
around line 27
$delay_time = 2; //set how long the image stays(seconds)
$loop = 0; //set to "1" plays the slideshow in loop, set to "0" for no loop
$geos_cat = 0; //set to "1" if you're using geos_show_category addon
jchoi
10-15-2006, 12:05 AM
danke!
jdleung
10-15-2006, 02:51 PM
have fun :)
nrivat
10-21-2006, 08:47 PM
Jdleung,
Really great slideshow that I am very happy to use. Thank you very much for sharing this.
I would love to see picture transition with fade effect.
Any plan to implement this to your addon in the future?
Thank you,
Nathalie
jdleung
10-22-2006, 04:24 PM
Nathalie,
addon slideshow use html meta tag redirect the page, it's small, fast and easy installation since it need no flash, javascript, ajax or any other scripts except php.
more effect more size. so I have no such plan by now.
if anyone could suggestion a good idea on this, I may try.
thanks.
Vernon.Trent
10-22-2006, 07:26 PM
(...)
I would love to see picture transition with fade effect.
Any plan to implement this to your addon in the future?
Thank you,
Nathalie
if you install a fade-in effect on your page, then the slideshow runs with fade-in.
my blog is working with that ;)
jdleung
10-23-2006, 02:49 AM
wow, it's the easiest way to do so, I think.
nrivat
10-23-2006, 10:18 PM
Vernon,
That's exactly what I was looking for.
Vielen Dank
Nathalie
gSaenz
03-16-2007, 11:10 PM
i attempted to use the slideshow as a new page -such as slideshow_template.html- when i do this the page loads and the tag <IMAGE_TITLE> shows instead of the image itself.
is this possible?
jdleung
03-17-2007, 05:42 AM
sorry, the slideshow addon was tested in image_template.html only.
rk.balla
04-14-2008, 09:37 AM
Hey.. excellent addon, but unfortunately it is not working on my blog.
The tags are rendered as it is (when I see the page source - I see <SLIDESHOW_META> and other tags) and I am not seeing any "play slide show" on my blog, though I am quite sure I followed the installation instructions correctly.
I was checking on the forum posts and no one seem to have got any problems with this addon. I am not sure, why it is failing in my case :-(
Any help, is greatly appreciated :-)
jdleung
04-14-2008, 04:56 PM
@rk.balla:
has the slideshow addon been turned on at the admin pannel?
tomms
05-09-2008, 10:37 PM
love the addon, works great
quick question, how do i run it like on your page, and have link be an image instead of the word (start/stop slideshow)
i'd like to have the link be a little play button, and then sqitch over to a stop button once the slideshow is started
jdleung
05-10-2008, 01:32 PM
love the addon, works great
quick question, how do i run it like on your page, and have link be an image instead of the word (start/stop slideshow)
i'd like to have the link be a little play button, and then sqitch over to a stop button once the slideshow is started
find $slideshow_play_link in code
replace "Play Slideshow" with your PLAY BUTTON IMAGE "<img scr='xxx.gif'>"
replace "Stop Slideshow" with your STOP BUTTON IMAGE "<img scr='xxx.gif'>"
DONE.
tomms
05-14-2008, 03:15 AM
thanks jdleung, you rule
pengrus
03-15-2009, 05:49 PM
I was trying this addon, and got 404 not exist error because I was using a friendly URL from the world in 35mm template. Like /pixelpost/p/index.php does not exist.
How can I make it work with the friendly URL?
Many thanks!
jdleung
03-17-2009, 05:09 AM
I was trying this addon, and got 404 not exist error because I was using a friendly URL from the world in 35mm template. Like /pixelpost/p/index.php does not exist.
How can I make it work with the friendly URL?
Many thanks!
Sorry, the addon codes must be rewriten if you want it work with friendly URL.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.