The errors giving:
[code]
warning: Division by zero in /home/id4100/domains/example.com/public_html/includes/image.inc on line 125.
warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/id4100/domains/example.com/public_html/includes/image.inc on line 238.
warning: imagecolorallocatealpha(): supplied argument is not a valid Image resource in /home/id4100/domains/example.com/public_html/includes/image.inc on line 240.
warning: imagealphablending(): supplied argument is not a valid Image resource in /home/id4100/domains/example.com/public_html/includes/image.inc on line 241.
warning: imagefilledrectangle(): supplied argument is not a valid Image resource in /home/id4100/domains/example.com/public_html/includes/image.inc on line 242.
warning: imagealphablending(): supplied argument is not a valid Image resource in /home/id4100/domains/example.com/public_html/includes/image.inc on line 243.
warning: imagesavealpha(): supplied argument is not a valid Image resource in /home/id4100/domains/example.com/public_html/includes/image.inc on line 244.
warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/id4100/domains/example.com/public_html/includes/image.inc on line 246.
warning: imagepng(): supplied argument is not a valid Image resource in /home/id4100/domains/example.com/public_html/includes/image.inc on line 324.
warning: imagedestroy(): supplied argument is not a valid Image resource in /home/id4100/domains/example.com/public_html/includes/image.inc on line 249.
Error scaling image.
[/code]

I have removed the whole module, and reinstall it, didnt work either.

Comments

ufku’s picture

Category: bug » support

did you try using any other image handling modules? The problem seems to be an image handling problem of your server.

steveoliver’s picture

Title: Cannot upload images, gives errors, I use the FCKEditor » TinyMCE + IMCE using Image module gives Division by Zero and other errors

I'm getting the same errors but only for all but one of my users, #1... I'm using D5 with TinyMCE, IMCE and the GD image library.

steveoliver’s picture

I found that I solved the problem by setting height and width for Administrator role image dimensions and checking "Enable scaling of newly uploaded images." Fixed, for me!

ufku’s picture

Status: Active » Closed (fixed)