• When cropping, WP often crops off peoples heads or eliminates parts of the image I want.

    How does WP decide how to crop an image? When part of the image will be cropped out how does it decide to discard from the top, bottom, left side, etc? Can a user control this?

    For example can I specify the crop start at the upper left hand corner and chop off parts of the image on the right side the bottom to derive the desired image size?

Viewing 10 replies - 1 through 10 (of 10 total)
  • You can define your own image sizes and use them on your site. That way you can set the cropping mode to suit what you want it ot be.

    https://developer.www.ads-software.com/reference/functions/add_image_size/

    Moderator cubecolour

    (@numeeja)

    Try the plugin ‘my eyes are up here’ which should help with this:
    https://www.ads-software.com/plugins/my-eyes-are-up-here/

    My eyes are up here has mostly been abandoned by Modern Tribe. I actually released a new free cropping plugin a couple weeks ago, to pick up where it leaves off. Not only does WP SmartCrop allow you to set your images’ focus area for wordpress thumbnail cropping, but it also supports responsive, client-side cropping, so you don’t have to settle for fixed aspect ratios at all. It’s also under active development, so you can expect more features soon, like bulk processing, face recognition, and zoom/crop combos for optimal results.

    https://www.ads-software.com/plugins/wp-smartcrop

    Moderator cubecolour

    (@numeeja)

    My eyes are up here doesn’t look abandoned as it was updated yesterday. It was developed by a UK agency, not the US one you mentioned.

    You are correct that M.E.A.U.H. is made by Interconnect.it, rather than Tribe, I misspoke.. For several months they had a post up in the support section saying that development was on a hiatus due to lack of interest and other commercial concerns. It looks like they’ve reversed that position, and are now considering pursuing releasing a premium face detection addon.

    However, regardless of their revival, they still approach cropping in a fundamentally dated manner. If you are going to let an algorithm choose your crop, why only allow it to crop to a specific set of dimensions? Instead, use responsive src sets to load the right initial image, then crop it in the client’s browser, on the fly, to match whatever screen-size they have. That way you can have fluid images.

    Thread Starter bgreen39

    (@bgreen39)

    I installed WP SmartCrop and tried it but when it is enabled and I add a Featured Image to Post, the image does not appear in the Post. ??

    This could be my first bug report! Can you show me a link where I can see the problem in action, or tell me what theme you’re using? This also probably would be best handled on the support section of the plugin page with a bug report, so as to not clutter the forum. Thanks

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Can you show me a link where I can see the problem in action, or tell me what theme you’re using?

    Or you can level up and post a support topic in the right sub-forum. ??

    https://www.ads-software.com/support/plugin/wp-smartcrop#postform

    Thread Starter bgreen39

    (@bgreen39)

    This website uses the ENFOLD theme. The following link is to our Blog. Click on the image of the two men and the chair. This takes you to a Post using this same image where the top is cropped off. This is the problem I need to solve.

    https://householdgoods.org/blog/

    To see the WP SmartCrop problem I previously described you would need access to our WP development site. That is not possible.

    Without access to a copy of the theme files or access to your dev site where i could see the issue live, there’s not much I can do on my end. I can say that it looks like Enfold seems to modify the html output of the featured image tag, to enforce some sort of image overlay, as well as their own trivial version of soft-cropping. They may be doing that in a way that conflicts with the data attribute added by WP SmartCrop.

    You could try opening the image in your image library, checking “Enable Smart Cropping”, and then clicking the focal point of the image. Then, once the focal point auto-saves, disable smart cropping again. That should ideally regenerate your post thumbnails to use your focal point, but should not attempt to make the image crop in the client’s browser.

    If you’d like further help with this issue, you could always send a link to your dev site to me privately at [email protected], or send me a copy of the enfold theme and your child theme, to install on my own test site to see what’s going on.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Image Cropping Methods’ is closed to new replies.