Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #912992
    kdub718
    Participant

    I’m having an issue when I select a variation (frame and finish) the displayed image changes accordingly, but the image shrinks in height and cuts off the top and bottom of the image and then it also gets blurry. Any ideas how to fix these issues?

    #912994
    kdub718
    Participant
    This reply has been marked as private.
    #913480
    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    As by checking the source code, it’s now controlled by WordPress’s Responsive image feature which is built-in to it. Please check it here https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/

    You can also check the discussion under that page and some provided some workaround to disable it.

    Thanks!

    #914360
    kdub718
    Participant

    I don’t think thats the issue. Seems that they are hard cropping the images. Did you disable the settings > products > display and then product images within X somewhere? and if so why?

    #932586
    Joao
    Moderator

    Hi There,

    Could you please provide a screenshot of your issue?

    I tried to find any cropped images by changing the screen size a multiple times and I couldn“t notice any issue.

    Joao

    #936776
    kdub718
    Participant

    Well I actually went in and added this in my child functions.php and got the woo commerce > settings > product display images options back. and unchecked hardcrop.

    // Woocommerce Product Images Sizes
    // =============================================================================
    
    function remove_product_settings_filter() {
       remove_filter( 'woocommerce_product_settings', 'x_woocommerce_remove_plugin_settings' );
    }
    
    add_filter('init', 'remove_product_settings_filter');

    So why is the option removed? And is there a way to make the images when selecting different option not blurry?

    #978147
    Rad
    Moderator

    Hi there,

    These options are removed since the theme is responsive. The image sizing is made automatically based on site’s layout. WordPress has also responsive image feature that also affects the rendering of an image. And it even affects X’s image sizing. I’m not saying it’s the main culprit, but since there are many features that are active at the same time, then it’s harder to check it. Please try disabling your WordPress’s responsive image and we’ll continue checking.

    Any feature can do hard cropping, even the WordPress’s responsive image feature. And I love to help, and we need to narrow our search.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-912992 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>