New Landing How can we help? Themeforest Theme Support Neighborhood Automatic resize images?

Viewing 10 posts - 1 through 10 (of 10 total)
  • #138856
    tomeronen
    Member
    Post count: 153

    hi,

    we are trying to get the zoom in works perfect, but as we try to upload big files for the zoom feature it sets the up to 800px X 800px instead of 2000px or 1500px that we uploaded… is it do it automatically and how can we deactivate this so the zoom will be like we want?

    thanks a lot

    Tomer

    #138956
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    The zoom will use the full size image that you upload. Can you provide a link where this is not working?

    – Kyle

    #138998
    tomeronen
    Member
    Post count: 153

    Hi, for some reason it won’t use my original size (2000x2000px) but reduce it to 800×800 version (create a different file – weird)…

    check the screenshot i attached.

    the original file added to the gallery is:
    http://touchka.com/wp-content/uploads/2014/12/Touchka-no1-M.jpg

    please, your help!

    thanks

    Attachments:
    You must be logged in to view attached files.
    #139011
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Go to neighborhood ▸ woocommerce ▸ single-product ▸ product-image.php and edit line 14

    $product_image_width = apply_filters('sf_product_image_width', 800);

    Change 800 to a bigger value

    – Kyle

    #139020
    tomeronen
    Member
    Post count: 153

    Perfect! thank you so much! 🙂

    #139022
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem 🙂

    #139048
    tomeronen
    Member
    Post count: 153

    Kyle, one more thing, we set it to 2000px and it works great BUT the feature image (the main image for the product) whenever we upload it as 2000x2000px it keeps not zoom in properly and reduce the size of it.

    maybe because it’s not as gallery image or other code that makes it smaller..

    plz your help again:)

    thank you!

    tomer

    #139052
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry there’s another line in the file that needs changing, line 56:

    $image = aq_resize( $image_link, 800, NULL, true, false);

    – Kyle

    #139062
    tomeronen
    Member
    Post count: 153

    yay! thanks!

    #139067
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register