Use size from attributes when setting url_size parameters for Image

Closes #13089
This commit is contained in:
Cédric Krier committed 2024-03-09 10:52:41 +01:00
1 parent 824e282b6f
commit ceb0ff3700
1 file changed
+1 -1
+1 -1
View File
@@ -1190,7 +1190,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);