Comment 4 for bug 833867

Revision history for this message
Melissa Newman (melissa-l) wrote :

I just fixed this on my local version.

The following files need to be changed:

1. artefact/file/blocktype/gallery/theme/raw/slideshow.tpl
2. artifact/file/blocktype/gallery/theme/raw/squarethumbs.tpl
3. artifact/file/blocktype/gallery/theme/raw/thumbnails.tpl

New code should be:

<figure style="float:left;{if $frame} padding: 3px;{/if}">
        <a rel="{$image.slimbox2}" href="{$image.link}" title="{$image.title}" target="_blank">
            <img src="{$image.source}" alt="{$image.description}" title="{$image.title}" {if $frame}class="frame"{/if} />
        </a>
        <figcaption>{$image.description}</figcaption>
</figure>

The fix is generally the same with all three files. You are basically changing the <span> to be a figure, then putting the {$image.description} between the <figcaption>.

The fix will take less than 5 minutes to do.