Use this data source to display images from a directory.
Just upload some images to a directory and type in the path in the "Image Directory" box.
You may optionally set a thumbnail directory. If you do that your images should have the same file names in both directories. It is recommended to use thumbnails for multiple reasons. One is that they make the loading process faster. Another one is that the quality of the thumbnails you create with a graphics tools is usually better than the resizing the browser does.
You can also set your own custom titles for your images. All you have to do is create a text file with the title. The file name of the text file should be identical to the image. For example, if you want to put a title for the image /images/stories/my_image.jpg write it into a file with name /images/stories/my_image.txt .
Image Directory [img_dir]
A path to the directory that contains the images.
Notice: As a security measure the images directory should always reside inside /images.
Example: images/stories
Search for small/large images [search_thumbs]
If enabled the system will automatically search for small and large images. Small images are displayed in the page and their large versions are shown when the user clicks on the image. The file name of the small images must contain ".small" before their suffix and the large images must contain ".large". For example "my_image.small.jpg" and "my_image.large.jpg". Both of them must be in the same directory.
Notice: If this parameter is used, do not use the "Thumbnail Directory" parameter.
Thumbnail Directory [thumb_dir]
A path to the directory that contains the image thumbnails.
If not set the thumbnails will be generated automatically from the original images.
Notice 1: As a security measure the thumbnails directory should always reside inside /images.
Example: images/stories
Notice 2: If this parameter is used, do not use the "Search for small/large images" parameter
Filter [filter]
A list of filters with wildcards to filter the images. Use the asterisk symbol (*) as a wildcard. Use the pipe symbol (|) to separate different filters.
Example: *.jpg|*.gif|*.png|*.jpeg
Order by [order]
• Default order [default] Sorts the images in the default image folder ordering.
• Reverse default order [default_desc] Sorts the images in the reverse of the default ordering.
• File name - Ascending [filename_asc] Sorts the images by their file name.
• File name - Descending [filename_desc] Sorts the images by their file name in descending order.
• Title - Ascending [title_asc] Sorts the images by their title.
• Title - Descending [title_desc] Sorts the images by their title in descending order.
• Date - Newer first [mdate_desc] Sorts the images by date putting the newer ones first.
• Date - Older first [mdate_asc] Sorts the images by date putting the older ones first.
• Random [random] Sorts the images randomly.