There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b9113a6d-933b-427b-9984-b2a6d13f29f5 XWIKI-23182 Open

Modifying an image style should not require updating all past images inserted

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-5b6fe01b-9089-4778-8862-5641d1763f13 Charpentier Lucas on 20/Nov/25 14:11
 

The way I understand it, we'd need to set the imageStyle id as a data parameter instead of setting the style attribute. This way, every time the image is rendered, it will query the imageStyle (add a cache if there's not already one) and fill up its render `style` attribute.
OFC this wouldn't fix images using imageStyles that were set before the change but I guess it's better than nothing.