Flexinode text areas are not displaying inline images with Drupal 4.7.. I get the following error messages:
imagegif(): Unable to open 'files/museum_th.gif' for writing in /home/gov/mysite/WWW/includes/image.inc on line 300.
imagedestroy(): supplied argument is not a valid Image resource in /home/gov/mysite/WWW/includes/image.inc on line 229.
imagegif(): supplied argument is not a valid Image resource in /home/gov/mysite/WWW/includes/image.inc on line 300.
imagecopyresampled(): supplied argument is not a valid Image resource in /home/gov/mysite/WWW/includes/image.inc on line 226.
imagecreatetruecolor(): Invalid image dimensions in /home/gov/mysite/WWW/includes/image.inc on line 225.
Please resolve this. I have also filed an error report with img_assist, as I'm not sure where the problem lies. I imagine it is a problem with flexinode.
Comments
Comment #1
bomarmonk commentedThe snippet here seems to get past this issue to a point (images now display in flexinode text areas).
However, error messages still appear: perhaps related to the fact that these are gif files and are not supported properly on the server???
See this snippet to fix inline images with flexinode text areas:
http://drupal.org/node/45491
Comment #2
benshell commentedI can't reproduce this problem, even using Flexinode and GIFs. I don't know why it would make a difference whether it is a Flexinode textarea or another (story, page, etc) textarea.
Comment #3
bomarmonk commentedWell, apparently flexinode doesn't respect the input filter, unless you add the snippet listed above. Apparently this isn't the fault of img_assist, but I'm still wondering about those error messages.
Comment #4
bomarmonk commentedI think the error messages above have to do with flexinode, not img_assist... closing this issue. Another one is active with flexinode-- covers the same ground.