diff --git a/src/art/artJS.js b/src/art/artJS.js
index 96c80000f6bf3a7deac8004500a49ee528d82965..23d58e2ed46ec0524bdd8fde1a205b0b5d6742cc 100644
--- a/src/art/artJS.js
+++ b/src/art/artJS.js
@@ -158,7 +158,7 @@ App.Art.customArtElement = function(slave, imageSize) {
 	});
 
 	res.setAttribute("src", fileName);
-	res.setAttribute("style", "float:right; border:3px hidden;object-fit: fill;height : 100%; width : 100%;");
+	res.setAttribute("style", "float:right; border:3px hidden; object-fit:contain; height:100%; width:100%;");
 	const sz = this.artSizeToPx(imageSize);
 	if (sz) {
 		res.setAttribute("width", sz);