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.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

huzooka created an issue. See original summary.

huzooka’s picture

The new configuration option is nullable because of BC (similar to #3396502: Add option to override the inherited HTTP client configuration).
Added a new test to ImagecacheExternalTest.

huzooka’s picture

Assigned: huzooka » Unassigned
huzooka’s picture

Status: Active » Needs review
StatusFileSize
new6.58 KB
larowlan’s picture

Status: Needs review » Needs work

Left some comments on the MR