| Com Swiftgallery documentation |
|
|
|
Installation
You do need to unzip the file the archive file that you download from us - that is why its name is 'swiftgallery_unpack_first' . This is because it contains both the plugin and the component. You can do this very easily, if you use Windows you can do this by right-clicking on the file and selecting 'extract all' from the context menu.
You will then see two files, just upload and install them using the Joomla! installer.
The component will attempt to copy some demo images to the folder images/stories/com_swiftgallery. To Create a GalleryUpload 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.
ParametersTitleThis is the gallery title (obviously!). It will appear at the top of your gallery. DescriptionThis 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. Images FolderThe path (relative to your site root) of the images folder (no trailing /). LayoutChoose the layout. The choices are main (horizontal), or vertical. We plan to add more in the future. Thumb Height and Thumb WidthThe dimensions of the thumbnails in pixels. Background Colour and Text ColourThe 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. Background OpacityThis can vary between 0 (completely transparent) and 100 (completely opaque) Background StyleThe choices include 'solid', and 10 different gradient patterns. Gradient ColoursYou can specify the colours used for a gradient background as a comma-separated list of 6-digit hex values (eg #ffffff,#999999,#cccccc) DownloadableChoose whether the viewer will be able to download images by right-clicking. Default is 'no'. Show CaptionChoose whether or not to display a caption. Default is 'yes' Use File Name for CaptionChoose 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'.
Using the Content Plugin
To embed the gallery, use the following format: {swiftgallery:folder=images/stories/com_swiftgallery;layout=horizontal-550x425;thumbSize=70;
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:-
|






























