<r:file />

A tag used in a loop to output a file and it's requisite properties.

Attribute Options

image_url - See r:image_url.

image_tag - See r:image_tag.

alt_text - Outputs the alt text of an image as listed in a file's properties.

size - Outputs the image at a certain size. Eg 250x250.

All fields listed in a file's properties are available to be output.

Example:

<r:files labels="tag1,tag2" types="image" labels_match="any" by="title" order="asc">
  <ul class="thumbnails">
    <r:each>
      <li>
        <a href="<r:file:image_url />">
          <r:file:image_tag size="250x250" alt="{file:alt_text}" />
        </a>
      </li>
    </r:each>
  </ul>
</r:files>

Last updated on August 7, 2015.

We welcome all questions, feedback and bug reports. If you're having an issue, we usually need the following information:

  • A brief description of the issue
  • A link to the page where you saw the issue
  • Screenshots that illustrate the problem - How do I take a screenshot?

Kindly email CleanSlate@mail.wvu.edu for help or use the form on the request help page.