• Resolved pdechery

    (@pdechery)


    I’ve created an image crop field with the custom size set as 960 X 250.

    When I choose an image to crop I get a message saying that my image is smaller than the required size:

    Width should be at least 960px. Selected image width: 500px

    The problem is this message shows up with whatever image I try – even those bigger than the required size.

    The presumed width of 500px showed by the alert is totally wrong, and it seems to be the origin of this misbehaviour. In fact this is the width of one of my custom thumbnail sizes – I don’t know if this has something to do with that.

    https://ww.wp.xz.cn/plugins/acf-image-crop-add-on/

Viewing 1 replies (of 1 total)
  • Thread Starter pdechery

    (@pdechery)

    Well, I got it solved and I think this example may serve for others: in my functions.php file I had a custom image size like the following:

    add_image_size('full', 500, 500, true);

    The name I’ve used (full) caused some kind of incompatibility with the plugin, causing the problem described above.

    I renamed the image size and it works like a charm now.

Viewing 1 replies (of 1 total)

The topic ‘Selected image smaller than required size – wrong width’ is closed to new replies.