Hi,

the module works fine for a few days but today i tried to crop a larger image and got no crop area. i just can scale and after that i get this error:

    Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in image_gd_create_tmp() (Zeile 302 von /www/htdocs/w00cc220/kunden/kikxxl/modules/system/image.gd.inc).
    Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in image_gd_create_tmp() (Zeile 326 von /www/htdocs/w00cc220/kunden/kikxxl/modules/system/image.gd.inc).
    Warning: imagefill() expects parameter 1 to be resource, boolean given in image_gd_create_tmp() (Zeile 326 von /www/htdocs/w00cc220/kunden/kikxxl/modules/system/image.gd.inc).
    Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in image_gd_crop() (Zeile 190 von /www/htdocs/w00cc220/kunden/kikxxl/modules/system/image.gd.inc).

ideas?

thanks!

Comments

ianthomas_uk’s picture

Title: Error » Invalid image dimensions in image_gd_create_tmp()
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Are you still having this problem and were you having any other problems with images?

At first glance I suspect that Drupal is having trouble accessing images on your server's hard disk. Maybe it's cleaning up the temp directory too promptly? I don't think there enough information here to confirm a bug in imagecrop though, especially as none of the error messages are in imagecrop itself.

ianthomas_uk’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I'm going to close this as there's not enough information to confirm a bug in imagecrop. Please reopen with more information if you're still having this issue.