|
How can I add a slideshow to the top of my gallery pages?
You can add a slideshow to the top of your gallery pages (like the one you see here) by using the SLIDESHOW() function in your gallery description.
Basic Functionality
To create a slideshow from a single gallery:
SLIDESHOW(gallery name)
To create a slideshow from a set of image ids:
SLIDESHOW(1,2,3,4,5)
Invalid image ids or images from an account other than your own 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'.
- random
- set to yes or no. 'yes' will cause the slideshow to play in random order.
Default is 'no'.
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. 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. |
|
|
Stylesheets
-
- Cascading style sheets are a way for you to adjust settings on your PBase pages. You can adjust fonts, borders, background, and much more.
-
- When editing your gallery, there is a dropdown menu next to "style sheet". Select the style sheet you wish to use.
You can also edit style sheets and view sample style sheets.
-
- To create your own stylesheet:
Go to www.pbase.com/css Enter a name for your new stylesheet.
Click the "Create Stylesheet" button.
You are now editing your new stylesheet. When you are done making changes, click the "Update Stylesheet" button.
To apply the new stylesheet to a gallery:
Edit the gallery.
Select your new stylesheet name from the list of existing stylesheets.
Click the "Update Gallery" button.
-
- aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, yellow
You can use any of these values for your background or font color settings.
|
|
|
contribute to the help pages
|