I am trying to resize an image with width around 6000 to 7000 pixels, but the file size is low (less than 3.8Mb). When I pass such huge images to image_resize function its not resized. Any ideas on this? Wp version 3.5.

  • Are you really using WordPress version 3.5? The current version is now 4.6.1. It's recommended to use the latest one.
    – birgire
    Oct 24, 2016 at 10:44
  • @birgire, one of the reasons not to upgrade is bad programming practices modifying the WordPress core.
    – prosti
    Oct 24, 2016 at 23:23
  • 1
    @prosti yes unfortunately, but let's hope that's not the case here.
    – birgire
    Oct 25, 2016 at 8:56

1 Answer 1


Operations on images are more restricted by the required and available memory than by the file size. The bigger the image is, the more memory it will require in order for it to be manipulated (to be manipulated the relevant libraries usually create a bit map image in the memory so your image will take width*height bytes of memory).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.