drupal ajax error image.gd.inc
===

Im constructing a website using Drupal7.
I created Image1,Image2.. Image5 as fields of type Image of a content type.

I have set the maximum image resolution as 480*270
and minimum resolution as 360*270.

But when I goto upload an image, I get the following ajax error.

![Error Snapshot][1]

The image I was uploading was just 4MB with the same aspect ratio as 360*270. So I was expecting it to be re-sized automatically without any issue.It used to upload a few weeks back, I don't know what happened all of a sudden (or I have bumped in an unepexted condition I didnt notice).

When I searched the net about the issue, it seems that the error states a memory insufficiency problem.
But my php configuration says a php script can use 24MB of resources.

Also, on reading more, most people point that it is not a size issue but a resolution and image re-size issue. When I try to upload a default sample picture with 1024x768 resolution with size less than 1MB, it uploads fine.

Can anyone help me with this please?

  [1]: http://i.stack.imgur.com/gMIHt.png