Page 1 of 1

Slide is not working

PostPosted: Fri Dec 21, 2007 5:50 am
by dshin
I was trying to put slideshow in my root gallery...

It is not working...

I copied the source code from other gallery by looking in 'view source' function of the web browser.

my gallery is http://www.pbase.com/dshin

please help

PostPosted: Fri Dec 21, 2007 7:16 am
by flemmingbo
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)

Thank you

PostPosted: Fri Dec 21, 2007 1:39 pm
by dshin
thank you flemmingbo

I've tried SLIDESHOW(mindcape), but it didn't work
that's why I was trying to copy those code and etc...

I thought maybe there was more code to display SLIDESHOW function :)

I will play some more with it.

Thank you & have a great holiday