I installed Drupal 7.2 a couple of days ago and Drupal 7.4 just now. In both versions I get the following error when I go to the image module configuration page and click "edit" for one of the image types (thumbnail, medium, large).
Warning: Division by zero in theme_image_style_preview() (line 786 of /home/exprofes/public_html/modules/image/image.admin.inc).
Warning: array_intersect_key() [function.array-intersect-key]: Argument #1 is not an array in theme_image_style_preview() (line 788 of /home/exprofes/public_html/modules/image/image.admin.inc).Also the display of the actual image example is broken.
| Comment | File | Size | Author |
|---|---|---|---|
| image_error.png | 82.13 KB | rubenski |
Comments
Comment #1
patoshi commentedsame problem... screenshot: http://prntscr.com/28cy6
what is the cause of this?
Comment #2
Letharion commentedCome on people, please search.
There's two issues on this subject:
#873838: theme_image_style_preview() and image_requirements() should check whether style directories are writable.
#1020870: theme_image_style_preview() and image_requirements() should check whether style directories are writable
Comment #3
Letharion commentedComment #4
quietone commentedUpdating tags per Issue tags field and Issue tags -- special tags and for issue #3565085: Drupal core issue tag cleanup.