WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Stop Images From Being Cropped? (3 posts)

  1. mar2195
    Member
    Posted 1 year ago #

    Here's what I've done so far to prevent images from being cropped:

    - I have unchecked all "Hard Crop" checkboxes - image is still cropped

    - I have set image sizes to 3000 WITH the cropping boxes checked - just to see what would happen - image is still cropped

    I can see (using FTP) that the cart is definitely generating cropped images (not just the CSS causing this).

    What do I need to do to stop ALL images from being cropped?

    Please help. Thanks.

    http://wordpress.org/extend/plugins/woocommerce/

  2. mar2195
    Member
    Posted 1 year ago #

    After doing extensive research about the cropping issue, I have found that this is actually a WordPress issue (vs a plugin or a template).

    The WP coding must be edited - in the file:
    /wp-includes/media.php (around line 330 - look for $crop)

    All of the "Hard Crop" checkboxes are affected by this section, as well as newly generated 'cropped' files.

  3. computersimple
    Member
    Posted 9 months ago #

    I'd love to know what you edited in media.php

    I am having this problem on a few sites - it is very irritating

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags