Use different image styles based on value of field

Created on 22 April 2019, over 5 years ago
Updated 16 May 2023, over 1 year ago

Hello

I have created two image styles:

  1. An image with a watermark
  2. An image without watermark

What I want to achieve is based on the value of a field to apply either the watermark image styles or the unwatermark one.

The field I create for the value is of type Boolean.

So based on whether the field is checked or not the appropriate image styles should be applied.

Can you help please?

Feature request
Status

Active

Version

10.0

Component
Image module 

Last updated 10 days ago

Created by

🇲🇺Mauritius yasin84

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