Image Replace provides a way to supply optional alternative source images mapped to image styles. This is useful when building responsive sites with art directed images where cropping and resizing is not enough but images need to be swapped out completely. For example when delivering graphics containing rendered text, e.g. responsive hero images.
This module works well with responsive image modules leveraging image styles, for example the Picture module.
Demo
- Demo on simplytest.me. Make sure to select the Image Replace Demo installation profile. (sandbox source)
Documentation
Project information
- Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Media
- 563 sites report using this module
- Created by znerol on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
2.0.0
released 18 January 2023
Works with Drupal: ^9 || ^10
✓ Recommended by the project’s maintainer.
Install:
Development version: 2.0.x-dev updated 18 Jan 2023 at 17:32 UTC
7.x-1.0-beta1
released 3 November 2015
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 28 Jun 2017 at 08:34 UTC