I use the Wix Code to change image on the dynamic page. New images are from URL, not Image Field, so I change it in code.
$w('#imagefromurl').src = itemImgUrl;
The problem is in the size. I want to use both vertical and horizontal images, but new image is autocroped and only middle of vertical image appear on live site(cause the template has horizontal image).
The question is Could you suggest something to make new images 'fit' the template not 'autocrop'?