Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 05-24-2006, 03:04 PM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile addon:Slideshow

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

download here:
http://www.pixelpost.org/v1/index.ph...ds&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's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar

Last edited by jdleung; 07-08-2006 at 05:44 PM.
Reply With Quote
  #2  
Old 05-24-2006, 03:23 PM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

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.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #3  
Old 05-24-2006, 04:19 PM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
do you have a demo?
Reply With Quote
  #4  
Old 05-24-2006, 04:34 PM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

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.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #5  
Old 05-24-2006, 06:29 PM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
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.
Reply With Quote
  #6  
Old 05-24-2006, 11:21 PM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

Quote:
Originally Posted by Joe[y]
- 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")

Quote:
Originally Posted by Joe[y]
- 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.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #7  
Old 05-24-2006, 11:22 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
please read this guideline
http://forum.pixelpost.org/showthread.php?t=3724

specially take care of the title of your post
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #8  
Old 05-24-2006, 11:40 PM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

Quote:
Originally Posted by raminia
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's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #9  
Old 05-24-2006, 11:43 PM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
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!
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #10  
Old 05-25-2006, 06:38 AM
ranko Offline
pp regular
 
Join Date: Apr 2006
Posts: 46
@ 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!
__________________
supersteady.org
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 06:11 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs