Home Forums ZA WordPress Theme Gallery Images Bad Performance

This topic contains 11 replies, has 4 voices, and was last updated by  BWSM 6 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #8443

    Soul
    Participant

    Hello again, this is quite important, since I use to work with design and photography.

    Please can we find some way to get better performance on images in gallery? If I use full width image (one in a row) with no sidebar, there is significant loose of quality (especially when thin texts to or lines are used in graphics), although the original image is much bigger then the preview. After the lightbox is opened, the quality is good, on zoom it is still good.

    Let have a look
    http://souldesign.eu/isometric-web-app-mockup/

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

    Thank you, Soul.

    #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

    #8463

    Soul
    Participant

    Works Fine, thank you. Currently Im using Xcode, where I can’t see the line numbers, search founds the code on four places, is it ok to replace all of them?

    #8467

    Soul
    Participant

    Have two more questions

    1. Could you add this as option to theme setup? Just because this is impossible to setup in child theme and after update the changes will be lost.

    2. Where to change the code if I would like to apply to blog posts too? It seems that it doesn’t appear on blog category although the post template should be the same.

    Lets have a look and see the difference on performance of first and second image
    http://souldesign.eu/horse/

    Thax a lot. Soul

    #8468

    BWSM
    Keymaster

    1. Could you add this as option to theme setup? Just because this is impossible to setup in child theme and after update the changes will be lost.

    I am not sure now, but we’ll focus on it

    2. Where to change the code if I would like to apply to blog posts too? It seems that it doesnโ€™t appear on blog category although the post template should be the same.

    Lets have a look and see the difference on performance of first and second image

    http://souldesign.eu/horse/

    I am not clear this question, I checked this page, something wrong?

    #8470

    Soul
    Participant

    Hi, thank you. The second horse image still looks blurry (especially on watermark) on page preview (in lightbox it is ok) but here I really don’t understand, cause the fisrt one looks ok). Don’t take me bad, but I need the site be like “When one see the product, he wants to buy it”.. Espetially in design and photography it is basic requirement to look clean.

    #8484

    BWSM
    Keymaster

    It seems you replace the code in one place only, there are 2 places need to replace (line 32 and line 138)

    If it doesn’t work, please leave your wp-admin(url/user/pass) and FTP as private reply, I’ll log in to check it.

    #8544

    BPERRIN
    Participant

    Hi,
    I had the exact same issue as Soul on my site with the gallery images.
    Fixed very easily with the two code lines in portfolio-template.php ๐Ÿ™‚ ๐Ÿ™‚ ๐Ÿ™‚
    All images are now very sharp.

    I saved my fixed portfolio-template.php file if it needs to be replaced after the next theme uptade.

    I loooooooove this theme ! ๐Ÿ™‚

    • This reply was modified 1 year, 4 months ago by  BPERRIN.
    #8552

    BWSM
    Keymaster

    Thanks for the information, BPERRIN. ๐Ÿ™‚
    I’ll consider to make a study to add a option.

    #8741

    Soul
    Participant

    Works nice now, thank you, Soul.

    #11072

    ityu
    Participant

    Hi,

    could you help for me too? ๐Ÿ™‚ My problem same as Soul. Please watch: http://ityuart.hu/jobmotiv/
    The picture is not clean … it’s little misty …hummm?

    Best,

    ityu

    #11073

    BWSM
    Keymaster

    Hi ityu, I checked your page, it is not same as what’s page Soul talked about. He talked Gallery format template, your gallery is built by Gallery Shortcode. Did you want the image szie bigger?

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.