Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1045680
    Valérie B
    Participant

    Hello, 11 months ago, i wrote you because the image on my site are really messy. A member of your theme give me a code and it works until today… Now, when i display the product on my site, the “principal image” is ok, but when i switch to a variation with another image, it’s really messy …

    site : http://www.coopscosf.com

    #1045681
    Valérie B
    Participant
    This reply has been marked as private.
    #1045809
    Joao
    Moderator

    Hi Valerie,

    Could you provide us the link of the page where the images you are referring to are located?

    Thanks,

    Joao

    #1046976
    Valérie B
    Participant

    http://coopscosf-scolaire.com/product/sac-a-dos-2/

    It’s when you change for another variation than the first one.

    #1046979
    Valérie B
    Participant

    i have the same problem in every site. This one is for the coopscosf-scolaire.com. You can login with the same user and password. On every product it’s the same thing.

    #1047275
    Nabeel A
    Moderator

    Hi again,

    To change the image size, you need to add a custom code inside your child theme’s functions.php:

    function x_woocommerce_donot_remove_plugin_setting(){
      if ( ! is_admin() ) {
        return;
      }
      remove_filter( 'woocommerce_product_settings', 'x_woocommerce_remove_plugin_settings', 10 );
    }
    add_action('init', 'x_woocommerce_donot_remove_plugin_setting');

    Once added, you will have the Product Display Image option settings back. You can check it out in Woocommerce > Settings > Products > Display tab http://prntscr.com/6eysla
    After changing the image size for your products do not forget to regenerate your thumbnails https://wordpress.org/plugins/regenerate-thumbnails/

    Let us know how this goes!

    #1067455
    Valérie B
    Participant

    It still not working with all this… Can you go in the site and just check please ? It’s king of urgent ! Thanks.

    #1067458
    Valérie B
    Participant

    http://coopscosf-scolaire.com/product/cahier-a-anneaux-rigide-1/

    Try to change the variation you will see.

    #1067929
    Rad
    Moderator

    Hi there,

    How about uploading image that’s large enough for mobile and desktop. Example, this image http://coopscosf-scolaire.com/wp-content/uploads/2016/06/CV05PK-min.png is only about 300px. How about uploading image which is 960px width? It’s ideal width for responsive layout. It will cover large, medium, and small screen when images are generated.

    And please install Force regenerate thumbnails plugin and regenerate your images. If this issue persists then please provide your FTP login credentials as well.

    Thanks!

    #1071611
    Valérie B
    Participant
    This reply has been marked as private.
    #1071616
    Valérie B
    Participant
    This reply has been marked as private.
    #1071760
    Jade
    Moderator

    Hi Valérie,

    I tried to login using the details you provided but it gives me and error: Response: 530 Login authentication failed

    Kindly double check the details as well as the host name for the ftp details.

    Thanks!

    #1074922
    Valérie B
    Participant
    This reply has been marked as private.
    #1075387
    Rad
    Moderator

    Hi there,

    What do you mean by it always download 300×300? Have you tried uploading larger than 960px as suggested? Again, thumbnail generation will not work on small images, WordPress will skip them as there is no sense generating the different copies of a thumbnail on a small image.

    Thanks!

    #1076472
    Valérie B
    Participant

    yesss like i said, all the images for the variation are doing the same thing. The image that are 300 x 300 AND others bigger. It’s like your theme concluded that the variation image have to be 1000 X 9999 for no reason. Like i said, all the setting are OK, the force regenerate thumbnail also. I have the same problem one year ago and i had this code to resolve the problem :

    ////////

    // Woocommerce Product Images = Show all thumbnails sizes under its settings
    // =============================================================================

    function remove_product_settings_filter() {
    remove_filter( ‘woocommerce_product_settings’, ‘x_woocommerce_remove_plugin_settings’ );
    }

    add_filter(‘init’, ‘remove_product_settings_filter’);

    // Woocommerce Single Product Image = Change to Default
    // =============================================================================

    function change_product_large_image_size() {
    remove_filter( ‘single_product_large_thumbnail_size’, ‘x_woocommerce_single_product_large_thumbnail_size’ );

    function x_woocommerce_single_product_large_thumbnail_size2() {
    return ‘shop_single’;
    }
    add_filter( ‘single_product_large_thumbnail_size’, ‘x_woocommerce_single_product_large_thumbnail_size2’ );
    }

    add_filter(‘init’, ‘change_product_large_image_size’);

    Since i updated X, it’s not working anymore. It was your colleague that send me this code. You can see all details in my previous topic. Please go with the FTP account on my site to see the problem is because when i deactivate your them everything is fine. It’s really messy right now and i’m loosing some customer and have phone call because of that. THANKS.

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