Home Forums ZA WordPress Theme Gallery Images Bad Performance Reply To: Gallery Images Bad Performance

#8445

BWSM
Keymaster

Hi, Soul

Is the gallery using the auto generated thumbnails to load less weight and speed the loading?

yes
plz login ftp, find:
/themes/za/template/single/portfolio-template.php
line 32 and line 138
<img alt="<?php echo get_the_title(intval($portfolio[$index])); ?>" src="<?php echo esc_url($thumb[0]); ?>" width="800" class="list-layout-img gallery-images-img">
update to:
<img alt="<?php echo get_the_title(intval($portfolio[$index])); ?>" src="<?php echo esc_url($thumb_full[0]); ?>" width="800" class="list-layout-img gallery-images-img">

Cheers!
Bwsm – uiueux.com
Twitter Facebook