2012-05-08, 01:14:25
didou038 Wrote:If anyone wants to add the title of a gallery just below the thumbnail, I found a solution.
I do it because my client wants to display a single thumbnail per gallery, so the title for each one is recommended in order to recognize them.
I test it only with prettyphoto plugin :
1- Edit the file plugin_prettyphoto.php (in plugins/i18n_gallery)
2- Find the line :
Code:<?php if ($showtitles) { ?>
3- add before :
h2 or span or what you want.Code:<h2 style="word-wrap: break-word; <?php echo 'width: '.@$gallery['thumbwidth'].'px;'; ?> "><?php echo $gallery['title']; ?></h2>
4- Save the file and that's done.
It will be interesting to add this option in gallery management, no ?
other suggestion :
possibility to add a password to view a gallery (each private gallery will have is own password)