ARCOS 7 Help

Photo Gallery

A photo gallery takes images from any category you choose and displays them as a simple slideshow.

Story Elements

When you edit a photo gallery story, some of the key elements you will want to pay attention to are:

  • Photo Category: Use this element to indicate which category the images you want are in
  • Photos Per Page: The number of photos to display per page (default: 20)
  • Thumbnails Per Row: The number of thumbnail images to display per row (default: 5)
  • Thumbnail Size: The maximum height/width of each thumbnail image, in pixels (default: 90)

Templating (for Advanced Users Only)

The following template variables may be used within the page_loop of the photo_gallery.tmpl template:

  • image_url
  • image_url_full
  • image_filename
  • alt_text
  • caption
  • copyright
  • image_height
  • image_width
  • purl (URL of self)
  • next (link to next photo)
  • prev (link to previous photo)
  • image_number (what number image is this)
  • total_images (total number of images in the gallery)

Each page_loop contains at least one row_loop (row of thumbnails), which contains at least one pic_loop:

  • thumb_url
  • alt_text
  • thumb_height
  • thumb_width
  • link
  • current