Support » Plugin: Regenerate Thumbnails » File is not an image msgs

  • ArKid


    I’ve received this for some of the images that definitely were images, they were just normal jpgs downloaded from one of the worlds largest stock libraries.

    Why would it be reporting this and not converting them?


Viewing 1 replies (of 1 total)
  • Plugin Author Renatho


    Could you try to re-export these images to see if it fixes your issue? Maybe it has a different format and it was renamed, or maybe it’s just corrupted.

    The error you mentioned is probably coming from a WP core validation. You can try to simulate a check that WP does in your image using this method:

    It would be something like that:

    $image = new Imagick();
    $image->readImage( '/your/image/path/here' );
    image->valid() // It returns if your image is valid.

    If nothing helps, could you send here the link to these images? So we could try to reproduce the issue.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.