Support

Account

Home Forums Bug Reports Edit Image: Cropping Thumbnails does not work (JS Error)

Unread

Edit Image: Cropping Thumbnails does not work (JS Error)

  • Steps to reproduce:
    * Create an image field and add an image
    * Click on edit and “Edit image” -> The image editor appears.
    * Try to click and drag on the image.

    Expected result:
    * A rectangle appears in order to allow image cropping.

    Actual result:
    * The Image is dragged (standard browser behavior.)

    Workaround:
    * Click on the cancel button, then edit again. Cropping is now possible.

    The cause probably is the JS error:

    ReferenceError: imageEdit is not defined
    …/wp-includes/js/tinymce/tinymce.min.js?ver=4021-20140412
    Line 2

    In WordPress without ACF “edit image” within the media dialog now opens as AJAX (not ?post=…&action=edit&image-editor directly), so maybe the JS loading order isn’t correct.

Viewing 1 post (of 1 total)

The topic ‘Edit Image: Cropping Thumbnails does not work (JS Error)’ is closed to new replies.