Hi!
Just copying the code won't work, you need to use PBase slideshow feature.
It is described in this thread
http://forum.pbase.com/viewtopic.php?t=32091 but this thread got a bit long so I've copy pasted the syntax here for ya:
Basic Functionality
To create a slideshow from a single gallery:
SLIDESHOW(gallery_name)
Same as before
To create a slideshow from a set of image ids:
SLIDESHOW(1,2,3,4,5)
Invalid image ids or images from another account will be skipped.
These 2 commands will get you a simple slideshow with all of the default settings.
Extra Options
You may add options within the parentheses in the form of option=value. Each option must be separated by a comma. Please ensure that the option is in lowercase.
size
set to small, medium, large, or original. Max original size is 800x800.
Default is 'medium'.
delay
set the time that an image is displayed in seconds. Minimum is 2 seconds.
Default is 5 seconds.
link
set to none or image. 'none' will disable the link to the current image's image page.
Default is 'image'.
loop
set to yes or no. 'no' will cause the slideshow to play only once.
Default is 'yes'.
Examples
A slideshow for your 'kittens' gallery might look like this:
SLIDESHOW(kittens, size=large, delay=3)
A slideshow for three given images might look like this:
SLIDESHOW(11111, 22222, 33333, size=original, delay=10, loop=no)
It does not matter in what order you specify options. All options are optional. Do not put spaces around the '=' sign. Do not add newlines within the parentheses. If you specify more than one item outside of your options, we will attempt to lookup image_ids. We currently do not support the ability to list multiple galleries.
Under consideration:
Edit: Things we might add in the future
- slideshow controls
- random images
- recent images
- more places to put a SLIDESHOW() (i.e. profile page)