2011-05-17, 05:33:48
maxmaxmax Wrote:in plugin_prettyphoto.php after line 128
<img src="<?php i18n_gallery_thumb_link($gallery,$item); ?>" alt="<?php echo htmlspecialchars(@$item['title']); ?>"/>
add:
<p class="i18th"><?php echo htmlspecialchars(@$item['title']); ?></p>
prettyPhoto.css
.i18th {font:11px Verdana, Tahoma; color:#777;}
plugin_fancybox.php too, after line 105, jquery.fancybox-1.3.4.css
It's intentional that titles are not shown in the thumbnails, because it is not sure it they will fit and it's not possible to calculate the correct thumbnail size with text.
For prettyphoto the description is shown on mouse over as tooltip, for fancybox the title.
maxmaxmax Wrote:plugin_cycle.php change dots-battons to numbers
replace to '.$i.'
but scrollLeft not work.... and numbers shifted, 0 to img1, 1 to img2... how it fixed?
You'd need to change '></a>' to '>'.($i+1).'</a>' in line 170 and
'<a href="#"></a>' to '<a href="#">'+idx+'</a>' in line 182 - or (idx+1), just try.