Open cboelter opened 1 year ago
Shouldn't it be possible to access the list of images before the string is created? Maybe we can influence the image creation directly through the "new" Image methods
I talked to my customer and he deciced to not use the watermark at the moment. If he changed I will able to work on the watermark again.
I'm trying to use the watermark function inside the galleries but this is not working if the attribute
srcset
is set. At the moment isotope only generates a watermarked image for the attributesrc
: https://github.com/isotope/core/blob/2.8/system/modules/isotope/library/Isotope/Model/Gallery/Standard.php#L386 I think there should be also a handling for thesrcset
otherwise for this attribute the original images are used.If you agree I will be able to create a pull request. My approach would be to split the comma separated list of sources and change the image path with the watermarked path.