Preview image is not created and not shown

Created on 27 March 2013, over 12 years ago
Updated 11 June 2025, 3 months ago

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)
πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States shaisamuel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    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.

Production build 0.71.5 2024