Requirements should check that server is correctly configured for image styles

Created on 2 April 2013, over 11 years ago
Updated 29 August 2023, about 1 year ago

Right now in D7, it is possible that image styles don't work, and Drupal does not remind you of that.

This especially happens with lighttpd, where you cannot rely on the usual .htaccess magic. It might also happen if you tell Apache to ignore the .htaccess and do everything in the main server config instead.

Proposed solution:
We could do a test http request to a nonexisting file, and check whether it is correctly forwarded to index.php. If not, we show a warning on "Status report".

πŸ“Œ Task
Status

Postponed: needs info

Version

9.5

Component
Image moduleΒ  β†’

Last updated about 22 hours ago

Created by

πŸ‡©πŸ‡ͺGermany donquixote

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 smustgrave

    Wonder with no movement or follow up after 10 years if this is still a valid task?

  • πŸ‡©πŸ‡ͺGermany donquixote

    Well I created this long ago and currently don't have the active use case.

    So the questions would be:

    • Are there currently (Drupal 9 or 10) scenarios where image styles don't work because of some kind of misconfiguration with .htaccess, file perms etc? I think file perms for sites/default/files is covered by some other check, but what if the image styles dir is not writable even though sites/default/files is?
    • Do we still care about Drupal 7?
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Don't think you want my answer about D7 haha

Production build 0.71.5 2024