Problem/Motivation

When the override mode is checked. The image styles don't work anymore and the original file is render.
It is due to the fact that in the file /web/core/modules/image/src/Controller/ImageStyleDownloadController.php, the function "deliver" call all the file_download hook.

For my project, the override mode is useful, but i don't know how to resolved this.

I'm on Drupal 9.5.11 for now, but the problem seems to be present in Drupal 10.

Comments

kevin vibert created an issue. See original summary.

kvib’s picture

Issue summary: View changes
kvib’s picture

Issue summary: View changes
zanonmark’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for your feedback, and sorry for my late reply.

Could You please check with D11?

Also, is the 'bypass' flag helpful in this situation? Have You already tried it?

Thanks,
MZ

zanonmark’s picture

Assigned: Unassigned » zanonmark