I just installed the module, put the "adaptive" effect in the style
and i clicked save effect i get all this
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in image_gd_create_tmp() (line 302 of /home/tscode5/public_html/modules/system/image.gd.inc).
Warning: imagealphablending(): supplied argument is not a valid Image resource in image_gd_create_tmp() (line 319 of /home/tscode5/public_html/modules/system/image.gd.inc).
Warning: imagecolorallocatealpha(): supplied argument is not a valid Image resource in image_gd_create_tmp() (line 320 of /home/tscode5/public_html/modules/system/image.gd.inc).
Warning: imagefill(): supplied argument is not a valid Image resource in image_gd_create_tmp() (line 321 of /home/tscode5/public_html/modules/system/image.gd.inc).
Warning: imagealphablending(): supplied argument is not a valid Image resource in image_gd_create_tmp() (line 322 of /home/tscode5/public_html/modules/system/image.gd.inc).
Warning: imagesavealpha(): supplied argument is not a valid Image resource in image_gd_create_tmp() (line 323 of /home/tscode5/public_html/modules/system/image.gd.inc).
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in image_gd_resize() (line 86 of /home/tscode5/public_html/modules/system/image.gd.inc).
not sure whats up
any help?
Comments
Comment #1
missmobtown CreditAttribution: missmobtown commentedSame issue here, though curiously, the image resizing seems to work just fine on Views pages (using Views slideshow) but chokes on a custom content type I have set up (also using Views slideshow). Any insight as to why the difference?
Comment #2
wojcieszek CreditAttribution: wojcieszek commentedsame problem same lines at setting up first image style.
Comment #3
atorockio CreditAttribution: atorockio commentedHello, I have the adaptive image module installed on a site running Drupal 7.9 and it works fine. I just encountered this problem (exactly the same as the original poster) when I tried to use this module with Drupal 7.12.
I believe this issue is caused by changes in image_scale_effect() in image.effects.inc in the core image module.
In D7.9:
In D7.12:
In the old version $data['width'] and $data['height'] were set to an "impossibly large value" and only if they were unset, but in the new version, they are both always set to NULL. I am thinking that this is causing the failure with adaptive image now. Can anyone confirm this?
I will continue to investigate and post a solution when/if I find it, but if anyone would offer more expertise it would be fantastic.
-Thanks, Ann
Comment #4
sanduhrsThis issue only had an effect on the image style admin page.
Fixed that by providing a default value for the width attribute of the preview image.
Commited, thanks for reporting and the backround information!
Comment #5
jordi_bcktt CreditAttribution: jordi_bcktt commentedSame issue
Comment #6
sanduhrsThis should have been fixed since with release 7.x-1.4.
What release are you using?
Comment #7
jordi_bcktt CreditAttribution: jordi_bcktt commentedI upgraded to version 7.x-1.4 but the problem persists
Comment #8
sanduhrsWhat other effects are defined for that style?
Comment #9
jordi_bcktt CreditAttribution: jordi_bcktt commentedI deleted and recreated the styles and is now working perfectly. Thank you very much.
Comment #10
sanduhrsYou're welcome.
Comment #12
Danny Englander@missmobtown -- Check to make sure all your Views slideshows are not being overwritten by the inline fixed widths and heights that are created with Views Slideshows: http://drupal.org/node/1359098