ABC CMS Pro
10.12.2004
Tags list for 'image_gallery' module
Note! Every template must begin with <%tloop section%> and finish with <%tendloop section%>
All the other tags are included between them
This module is used in order to create and view a gallery of images
The features include:
Tags are described below.
// Current images category name
<%tlv image_gallery_cat_name%>
// Image gallery categories list
<%tif image_gallery_categories%>
<%tloop image_gallery_categories%>
<%tlv name%> // Images category name
<%tlv description%> // Images category description
// To view selected images category you need to use the next link:
// If you want to view custom section or page you can replace <%tv s%> and <%tv p%> with your section and page id's
<a href="index.php?s=<%tv s%>&p=<%tv p%>&image_gallery_cat=<%tlv n%>&reset_image_gallery_page=1">
<%tlv name%>
</a>
<%tendloop image_gallery_categories%>
<%tendif image_gallery_categories%>
// List the images from selected category
<%tif image_gallery_images%>
<%tloop image_gallery_images%>
<%tlv n%> - image id
<%tlv small_image%> - small image filename
<%tlv big_image%> - big image filename
<%tlv text%> - image text
<%tlv hot%> - hot image (flag)
// To view selected big image use the next link
// Replace ... with required section and page id ( to view image)
<a href="index.php?s=...&p=...&image_gallery_imagen=<%tlv n%>">
<img src="<%tlv small_image%>">
</a>
<%tendloop image_gallery_images%>
// Navigation bar
<%tag nav_image_gallery%>
<%tendif image_gallery_images%>
// View selected image
<%tif image_gallery_selected_image%>
<%tloop image_gallery_selected_image%>
<%tlv n%> - image id
<%tlv small_image%> - small image filename
<%tlv big_image%> - big image filename
<%tlv text%> - image text
<%tlv hot%> - hot image (flag)
<%tlv category_name%> - images category name
<%tendloop image_gallery_selected_image%>
<%tendif image_gallery_selected_image%>
// View random image ( only 1 image )
<%tif image_gallery_random%>
<%tloop image_gallery_random%>
<%tlv n%> - image id
<%tlv small_image%> - small image filename
<%tlv big_image%> - big image filename
<%tlv text%> - image text
<%tlv hot%> - hot image (flag)
<%tlv category_name%> - images category name
<%tendloop image_gallery_random%>
<%tendif image_gallery_random%>
// View hot image - marked in admin panel ( only 1 image )
<%tif image_gallery_hot%>
<%tloop image_gallery_hot%>
<%tlv n%> - image id
<%tlv small_image%> - small image filename
<%tlv big_image%> - big image filename
<%tlv text%> - image text
<%tlv hot%> - hot image (flag)
<%tlv category_name%> - images category name
<%tendloop image_gallery_hot%>
<%tendif image_gallery_hot%>