This slideshow feature has been discontinued in favor of Pbase's slideshow feature.
Check out Forum announcement for the details. The rest of this page is here just for the records and should not be used anymore!
Please note that the slideshow feature is not a feature implemented by PBase. Do not complain to them if it does not work. Drop a note in the forum post and hopefully someone will help you. A big “Thank You” to Karthik (yardbird) for kickstarting the whole activity and Arjun (arjunrc) for some great codes and suggestions.
There are two ways to add a slideshow to your gallery. The first provides an inline slideshow that is visible to the user as soon as they enter the gallery and the other method requires them to click (a link or an image) to launch the slidshow.
For this method, use the code below as the starting point. Copy-paste it into your gellery's description field and enable 'html flag'.
<center> <iframe frameborder="0px" style="border:0px" width="460" height="450" src="http://www.srijith.net/pbase/slideshow.cgi?user=USER&gallery=GALLERY_NAME()&delay=DELAY&color=COLORCODE&title=TITLE&size=SIZE&maxwidth=MAXWIDTH&maxheight=MAXHEIGHT"> <!-- Alternate content for non-supporting browsers --> <h2>Your browser does not support the technology needed for this slideshow.</h2> </iframe> </center>
Then make the following changes to suit your needs:
An example code that renders this slideshow is:
<center> <iframe frameborder="0px" style="border:0px" width="460" height="450" src="http://www.srijith.net/pbase/slideshow.cgi?user=srijith&gallery=GALLERY_NAME()&delay=3&color=4d4d4d&title=1&size=medium&maxwidth=400&maxheight=300"> <!-- Alternate content for non-supporting browsers --> <h2>Your browser does not support the texhnology needed for this slideshow.</h2> </iframe> </center>
For this method, use the code below as the starting point. Copy-paste it into your gellery's description field and enable 'html flag'
<center><a href='javascript:doslide()'><img src="http://www.srijith.net/pbase/ss-img/ss.jpg" /></a></center> <script language="JavaScript1.2"> function doslide() { document.write('<html><head></head><body bgcolor=#COLOR>') document.write('<center>') document.write('<iframe frameborder="0px" style="border:0px" width="500" height="500" src="http://www.srijith.net/pbase/slideshow.cgi?user=USER&gallery=GALLERY_NAME()&delay=DELAY&color=COLOR&title=TITLE&size=SIZE&maxwidth=MAXWIDTH&maxheight=MAXHEIGHT">'); document.write('<h2>Your browser does not support the technology needed for this slideshow.</h2>') document.write('</iframe> </center></body></html>') } </script>
Then make the following changes to suit your needs:
An example code that renders this slideshow is:
<center><a href='javascript:doslide()'><img src="http://www.srijith.net/pbase/ss-img/ss.jpg" /></a></center> <script language="JavaScript1.2"> function doslide() { document.write('<html><head></head><body bgcolor=#4d4d4d>') document.write('<center>') document.write('<iframe frameborder="0px" style="border:0px" width="500" height="500" src="http://www.srijith.net/pbase/slideshow.cgi?user=srijith&gallery=GALLERY_NAME()&delay=3&color=4d4d4d&title=1&size=auto&maxwidth=400&maxheight=300">'); document.write('<h2>Your browser does not support the technology needed for this slideshow.</h2>') document.write('</iframe> </center></body></html>') } </script>
The inline method involves one less click. However it will use up some space for the slideshow even if the viewer is not interested in the slideshow. The other method does involve one more click but it does not impose the slideshow area onto viewers.
This is not an official PBase feature. If it does not work, do not email Slug or Emily or anyone else related to PBase as they can't do anything about it! Post a reply in this forum thread and some of us will try our best to help you out. No assurances though. If it breaks, all I can guarantee you is that you get to keep the pieces :)
While there is no immediate plans to cancel the service, it cannot be guaranteed that this service will be available all the time. If for some reason this service needs to be shut down, a message will be posted in the PBase forum as well as here, well in advance.