When I try to upload an image over 1500 pixcels in width or height I get a javascript popup error message saying:
An HTTP error 0 occurred.
/filefield/ahah/judges/field_picture/0

Below is what FireBug reported:
http://domain.com/filefield/ahah/judges/field_picture/0

Host: domain.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://domain.com/node/add/judges
Cookie: __utma=88906121.124374635.1233082219.1233684275.1233741390.7; __utmz=88906121.1233082219.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=90090458.3595112520302932000.1234277491.1234277491.1234277491.1; __utmz=90090458.1234277491.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); SESSed111c30f0cb7c5e42df3219afdb01e7=ov7ck92c43nl7vrn6ngoq1p2k6; has_js=1

Date: Wed, 11 Feb 2009 18:02:00 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.2.8
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Wed, 11 Feb 2009 18:02:02 GMT
Cache-Control: store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Length: 0
Connection: close
Content-Type: text/html; charset=utf-8

Comments

yhager’s picture

Status: Active » Postponed (maintainer needs more info)

Can you set the widget to standard 'image' and try again? I am not sure this error comes from imagefield_crop.

yhager’s picture

Title: HTTP error? » Ajax error upon large image upload
omcateer’s picture

Status: Postponed (maintainer needs more info) » Fixed

Problem solved!
After looking through my http error logs I found this line
[Thu Feb 12 10:23:52 2009] [error] [client 91.143.xx.xx] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7696 bytes) in /home/domain/includes/image.gd.inc on line 190, referer: http://domain.com/node/add/judges

Simply PHP did not have enough memory to resize large images on the fly, increasing PHP memory limit solved this problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.