Using Gallery Extension to list mp3 files

May 14th, 2007 by Andrea Franz

In the latest release (0.4.1) of the Radiant Gallery extension I added the ‘link’ tag for each gallery item. With this new tag you can use Gallery extension to display a set of file that aren’t images..and link directly to each item instead of display a thumbnail. I use this feature to display my band album. I created a new hidden gallery uploading all the mp3’s, and then I created a new page with this code:

<r:gallery id="3">
<h4><r:gallery:name /></h4>
<ol>
  <r:gallery:items:each>
    <li><r:gallery:item:link /></li>
  </r:gallery:items:each>
</ol>
</r:gallery>

..and this is the result:

Mp3 list with Radiant gallery extension


Comments are closed.