When edit content type with media image field, no preview image is display. When viewing the content type, the image is display. Looking at the log file the error:

TYPE	page not found
DATE	Tuesday, March 26, 2013 - 20:17
USER	Shai-Admin
LOCATION	http://whyagel.localhost:8082/sites/default/files/styles/square_thumbnail/public/market/flag/us.png?itok=2vs1hdEx
REFERRER	http://whyagel.localhost:8082/node/36/edit?render=overlay
MESSAGE	sites/default/files/styles/square_thumbnail/public/market/flag/us.png

The sites/default/files/styles/square_thumbnail/public/square_thumbnail folder and file are not created and are missing. Permission is set correctly to 755 all along from sites folder down.

Checking admin/config/media/file-styles/edit/square_thumbnail show the same: image is broken and not display, and an error is show on log:

TYPE	page not found
DATE	Tuesday, March 26, 2013 - 20:26
USER	Shai-Admin
LOCATION	http://whyagel.localhost:8082/sites/default/files/styles/square_thumbnail/public/file-styles/sample.png?itok=_mn5UpCN
REFERRER	http://whyagel.localhost:8082/admin/config/media/file-styles/edit/square_thumbnail
MESSAGE	sites/default/files/styles/square_thumbnail/public/file-styles/sample.png

I have all the latest versions of modules:

  • Media 7.x-2.0-unstable7+37-dev (2013-Mar-24)
  • File entity (fieldable files) 7.x-2.0-unstable7+55-dev (2013-Mar-25)
  • Styles 7.x-2.x-dev (2011-Sep-11)

Comments

johan den hollander’s picture

You need to create a new image style (admin/config/media/image-styles) with the name square_thumbnail. Then your thumbnail will be visible.

bluegeek9’s picture

Status: Active » Closed (outdated)

Thank you for your contributions to this issue. As Drupal 7 has reached its End of Life and is no longer supported, we are closing this issue. We encourage you to upgrade to a supported version of Drupal.