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.

CommentFileSizeAuthor
image_error.png82.13 KBrubenski

Comments

patoshi’s picture

same problem... screenshot: http://prntscr.com/28cy6

what is the cause of this?

Letharion’s picture

Status: Active » Closed (duplicate)
quietone’s picture

Version: 7.4 » 7.x-dev
Issue summary: View changes
Issue tags: -error, -image, -division by zero, -theme_image_style_preview