Posted by restyler on October 21, 2009 at 7:57am
Jump to:
| Project: | Simple Gallery |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
There is no alts for images on gallery pages. To fix that, change line 222 of simplegallery.module from
<?php
$cell = l(theme('imagecache', $imagecache, $node->{$imagefield}[$i]['filepath']),file_create_url($node->{$imagefield}[$i]['filepath']), array('attributes' => array('rel' => 'lightbox[' . $term->name . ']', 'title' => $imagecaption), 'html'=>TRUE));
?>to
<?php
$cell = l(theme('imagecache', $imagecache, $node->{$imagefield}[$i]['filepath'], $imagecaption), file_create_url($node->{$imagefield}[$i]['filepath']), array('attributes' => array('rel' => 'lightbox[' . $term->name . ']', 'title' => $imagecaption), 'html'=>TRUE));
?>
Comments
#1
Issue was resolved but issue never closed