Hello, i'm building a rather big 'gallery of galleries' using the gallery links in (% gallery name=gallery_name thumb=0 %) format. The thing is, this creates (and downloads) thumbs for all the images in the gallery - they are only hidden. Is it possible to omit the hidden thumbs altogether so the page loads faster ? Thank you.
P.S. I just checked by copying the generated html and removing the img from the hidden links -that does not affect gallery functioning (at least prettyPhoto)
EDIT:
I think I got it (by trial and error - forgive me, I'm n o programmer):
in plugin_Prettyphoto.php line 212 I replaced
with
Now the hidden links don't have thumbnails
P.S. I just checked by copying the generated html and removing the img from the hidden links -that does not affect gallery functioning (at least prettyPhoto)
EDIT:
I think I got it (by trial and error - forgive me, I'm n o programmer):
in plugin_Prettyphoto.php line 212 I replaced
PHP Code:
<img src="<?php i18n_gallery_thumb_link($gallery,$item); ?>" alt="<?php echo htmlspecialchars(@$item['_title']); ?>"/>
PHP Code:
<?php if (!(isset($thumb) && $thumb != $i)): ?><img src="<?php i18n_gallery_thumb_link($gallery,$item); ?>" alt="<?php echo htmlspecialchars(@$item['_title']); ?>"/><?php endif ?>