https://codepen.io/Maximusssssu/pen/JjXOgKL
function downloadImg(id) {
var image = list.$getRecord(id);
// Window.open in a new div and not fullscreen
window.open(image.url, 'Download');
}
When you click on download, the image will appear to be fullscreen but i want it to be in a small screen perhaps like a smalll div. I have tried using "height=200,width=200" but no luck in doing so. It would be great if you can provide a codepen demo. Thank you.