Use size from attributes when setting url_size parameters for Image

Closes #13089
(grafted from 92766aa06e107c67d9e217334c067651385229bd)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2024-03-09 10:52:41 +01:00
1 parent da420e585b
commit ace002f22d
1 file changed
+1 -1
+1 -1
View File
@@ -1087,7 +1087,7 @@ function eval_pyson(value){
var url = new URL(name, window.location);
url.searchParams.set(
this.attributes.url_size,
attributes.size || 48);
this.attributes.size || 48);
name = url.href;
}
this.img.attr('src', name);