1

My site is Drupal 7.36

Image style cann't create all images and it get 2 error messages

Division by zero in theme_image_style_preview() (line 804 of /Users/snappy/Sites/betterpack/modules/image/image.admin.inc)

array_intersect_key(): Argument #1 is not an array in theme_image_style_preview() (line 806 of /Users/snappy/Sites/betterpack/modules/image/image.admin.inc)

and I did:

sudo chmod -R 777 sites/default/files/styles

It not work

Help me please.

Thank you everyone and sorry I write weak in English but I can read good English.

enter image description here enter image description here

ls command in sites/default/files/styles

ls -l

total 0

drwxrwxrwx 3 _www staff 102 Jun 7 2014 cover_article

drwxrwxrwx 3 _www staff 102 Mar 28 19:47 cover_product

drwxrwxrwx 3 _www staff 102 May 9 2014 large

drwxrwxrwx 3 _www staff 102 Jun 5 2014 medium

drwxrwxrwx 3 _www staff 102 Jun 6 2014 node_porduct

drwxrwxrwx 3 _www staff 102 Jun 6 2014 related_product

drwxrwxrwx 3 _www staff 102 Jun 7 2014 thumb_gallery_article

drwxrwxrwx 3 _www staff 102 May 9 2014 thumbnail

4
0

It would appear that your image toolkit is not working properly. On the status page (admin/reports/status) are there any errors, etc.?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.