Content Articles Help [cnt_articles] - Photo Spot Data Source

Use this data source to show the first image from Joomla! articles.

Use the "Articles", "Sections" and "Category" filters to narrow the list of articles from which images will be extracted.

Notice: Every article in your selections is expected to have an image.

Parameters

Articles   [articles]
A list of article IDs. If set, the data source will pick only the specified articles.
You can find the ID of an article from the last column in the Content > Article Manager page.
Example: 1, 2, 3

Sections   [sections]
A list of section IDs. If set, the data source will pick the articles under the specified sections.
You can find the ID of a section from the last column in the Content > Section Manager page.
Example: images/stories

Categories   [categories]
A list of category IDs. If set, the data source will pick the articles under the specified categories.
You can find the ID of a category from the last column in the Content > Category Manager page.
Example: images/stories

Order by   [order]
Default order [default] Sorts the images in the default article ordering.
Reverse default order [default_desc] Sorts the images in the reverse article ordering.
Title - Ascending [title_asc] Sorts the images by their title.
Title - Descending [title_desc] Sorts the images by their title in descending order.
Creation Date - Newer first [cdate_desc] Sorts the images by the article's creation date putting the newer ones first.
Creation Date - Older first [cdate_asc] Sorts the images by the article's creation date putting the older ones first.
Last Modification Date - Newer first [mdate_desc] Sorts the images by the article's last modification date putting the newer ones first.
Last Modification Date - Older first [mdate_asc] Sorts the images by the article's last modification date putting the older ones first.
Random [random] Sorts the images randomly.

Image selection order   [select_imgsrc_order]
Article intro - Main article [artintro_artmain] Looks for an image first in the introductory part of an article, then in the main part.
Main article - Article intro [artmain_artintro] Looks for an image first in the main part of an article, then in the introductory part.
Article intro [artintro] Looks for an image only in the introductory part of an article.
Main article [artmain] Looks for an image only in the main part of an article.

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.

Title selection order   [select_title_order]
Article title [arttitle] Uses the article title as the image's title.
Image title - Image file name [imgtitle_imgfilename] Uses the title or alt parameter of the img tag as the image's title. If none of them exist, the image's file name is used as a title instead.
Image title - Article title [imgtitle_arttitle] Uses the title or alt parameter of the img tag as the image's title. If none of them exist, the article's title is used instead.
Image file name [imgfilename] Uses the image file name as the image's title.

Description selection order   [select_descr_order]
Article intro - Main article [artintro_artmain] Uses the introductory part of the article for description. If this is empty, it uses the main article instead.
Main article - Article intro [artmain_artintro] Uses the main part of the article for description. If this is empty, it uses the introductory part of the article instead.
Article intro [artintro] Uses the introductory part of the article for the image's description.
Main article [artmain] Uses the main part of the article for the image's description.
Image title - Image file name [imgtitle_imgfilename] Uses the title or alt parameter of the img tag for the image's description. If none of them exist, the image's file name is used instead.
Image file name [imgfilename] Uses the image file name for the image's description.
None [none] Does not assign descriptions to images.

Description text selection   [select_descr_text]
Before or after the image [before_after] If the image is found in the same part of the article (introductory or main part) as its description, then the description is the concatenation of the text before and after the image.
Before the image [before] If the image is found in the same part of the article (introductory or main part) as its description, then the description is the text before the image.
After the image [after] If the image is found in the same part of the article (introductory or main part) as its description, then the description is the text after the image.