• I am trying to change the custom ratio in (Appearance -> Customize -> WooCommerce -> Product Images -> Thumbnail cropping) but the images do not resize as they should and image links are broken.

    My nginx error log says the following:

    2019/01/03 15:06:39 [error] 21088#21088: *1064 FastCGI sent in stderr: "PHP message: PHP Warning:  getimagesize(): corrupt JPEG data: 6 extraneous bytes before marker in /var/www/wallpapered.com.v4/wp-admin/includes/image.php on line 82
    PHP message: PHP Warning:  getimagesize(): corrupt JPEG data: 8916 extraneous bytes before marker in /var/www/wallpapered.com.v4/wp-admin/includes/image.php on line 82
    PHP message: PHP Warning:  getimagesize(): corrupt JPEG data: 6 extraneous bytes before marker in /var/www/wallpapered.com.v4/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php on line 205
    PHP message: PHP Warning:  getimagesize(): corrupt JPEG data: 8916 extraneous bytes before marker in /var/www/wallpapered.com.v4/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php on line 205

    The only way to make the images appear is use the 1:1 ratio.

    Reference: https://github.com/woocommerce/woocommerce/issues/21761

Viewing 1 replies (of 1 total)
  • Plugin Contributor ianmjones

    (@ianmjones)

    @cluber22, as per the WooCommerce GitHub issue you reference, this is a bug in WooCommerce and its dynamic cropping. There seems to be a regression in WooCommerce v3.5 for the bug that was initially introduced in v3.0 and was subsequently fixed.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce Product Image Thumbnails not generated when change ratio’ is closed to new replies.