• Resolved bpebble

    (@bpebble)


    Hello,
    Is there any way to specific height and width for a crop and then just position the crop box over the image?
    I’m looking to crop all custom post type images to a standard size, so that they are all universally the same size.
    The hard crop on this is a square, I need different dimensions than that. Is there somewhere I can customize this???????

    https://www.ads-software.com/plugins/acf-image-crop-add-on/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author andersthorborg

    (@andersthorborg)

    Hi there,

    I’m not sure I understand what you mean by

    and then just position the crop box over the image?

    Can you explain further?

    Besides from that, it seems that you are looking for the “Target size” option in the field settings. It can be either one of the standard wordpress sizes (thumbnail, medium and large) or any image size added with the add_image_size function. You can also choose to specify the dimensions on the fly using the “Custom size” option.

    The “Hard crop” option has nothing to do with the dimensions of the crop, but determines whether the user should be restricted to crop to the exact target size ratio or if the target size should act as minimum width and minimum height, which can be useful in some scenarios.

    Let me know if you have further questions.

    Best,

    Anders

    Thread Starter bpebble

    (@bpebble)

    I’m sorry. I deleted your plugin. It also caused some issues in removal.

    All I wanted was to crop photos to exact dimensions.
    225 X 165px or something like that.

    Square crop gives you a nice sizeable selector box that maintains that ratio.

    I wanted a custom crop with custom dimensions that does exactly what your square crop does.

    Your plugin doesn’t do this so I deleted it.
    I’m now using standard laptop photo editor to crop to the dimensions I need before uploading.

    Plugin Author andersthorborg

    (@andersthorborg)

    You should be able to achieve what you’re describing with the following settings:

    • Crop type: Hard crop
    • Target Size: Custom size
    • Custom dimensions: 255×165
    • Whatever other options you might prefer

    I’m aware that image fields might not work as expected when going from “crop fields” to regular image fields due to the way the crop field stores its data. I’m working on a tool to migrate crop fields back to regular image fields.

    Best,

    Anders

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Crop to Standards Dimensions??’ is closed to new replies.