Add option to use _only_ a file URL as fallback image

Created on 25 October 2023, over 1 year ago
Updated 9 November 2023, over 1 year ago

Problem/Motivation

As a Drupal developer, I want to be able to use the same placeholder image as the active Drupal theme uses. Currently, the way I can do this is to copy the asset from the Drupal theme to the file system and create a managed file with points to that file asset.

Proposed resolution

Provide an option to set only an URL for the fallback image.

User interface changes

Nothing.

API changes

New config option imagecache_fallback_image_url is available which stores only a file URL. The preexisting imagecache_fallback_image config is prioritized over the new config, so if both are set, then imagecache_fallback_image is used.

Data model changes

Nothing.

✨ Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary huzooka Hungary πŸ‡­πŸ‡ΊπŸ‡ͺπŸ‡Ί

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

Comments & Activities

Production build 0.71.5 2024