Image derivative generation does not work if effect "Convert to webp" in use and file stored in private filesystem

Created on 7 June 2022, over 2 years ago
Updated 3 May 2023, over 1 year ago

Problem/Motivation

When I created a new contrib module WebP fallback image β†’ and tested image loading got this problem.

Steps to reproduce

  • Set the private filesystem.
  • Create new or edit an existing image style and add convert to webp effect.
  • Edit a content type manage field add new or edit existing image field and set storage private.
  • Edit above content type manage display and set for image field the image style to format which created or edited.
  • Go to add content fill the form and upload a non webp format image and submit form.

The image will not show in display.

Proposed resolution

Change the order to find the actual source image name and private access checking.

Prepared patch.

πŸ› Bug report
Status

Closed: duplicate

Version

9.5

Component
Image systemΒ  β†’

Last updated 1 day ago

Created by

πŸ‡­πŸ‡ΊHungary dj1999

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.

Production build 0.71.5 2024