The component will attempt to copy some demo images to the folder images/stories/com_swiftgallery.
Upload some images to a folder on your site, either by ftp or using the Joomla media manager.
Then create a new menu item using the Joomla menu manager. Give it type Com Swiftgallery->default layout. If you save it as it is you should see the demo gallery (assuming the images were copied on installation).
You can modify your gallery using the component parameters for the menu item. These are shown in the illustration below.
This is the gallery title (obviously!). It will appear at the top of your gallery.
This is the text that will appear at the top of the gallery. Allowable html tags are: p, pre, h heading tags, span, div, and a.
The path (relative to your site root) of the images folder (no trailing /).
Choose the layout. The choices are main (horizontal), or vertical. We plan to add more in the future.
The dimensions of the thumbnails in pixels.
The background colour and the text colour are fully customizable. The values must be expressed as html-style 6-digit hex values (eg #ffffff). The background colour chosen here applies if the background style is set to 'solid', otherwise the values specified using the 'gradient colours' parameter will be used to draw the background.
This can vary between 0 (completely transparent) and 100 (completely opaque)
The choices include 'solid', and 10 different gradient patterns.
You can specify the colours used for a gradient background as a comma-separated list of 6-digit hex values (eg #ffffff,#999999,#cccccc)
Choose whether the viewer will be able to download images by right-clicking. Default is 'no'.
Choose whether or not to display a caption. Default is 'yes'
Choose the source of the caption. If the default 'no' is chosen, the component will try to read a caption from the Exif metadata for the image.
If 'yes' is selected, the component will extract the caption from the file name. The characters '-', and '_' will be converted to spaces, while the .jpg extension will be removed. So the file 'A-vase-of-flowers.jpg' becomes 'A vase of flowers'.
To embed the gallery, use the following format:
with the parameters specified as a list separated by semi-colons (;).
or just
All the parameters are optional, if none are specified the default values (those shown above) will be used.
The options available for transitionType are:-
The options available for bgstyle are:-