Open anisimovevgeniy opened 7 years ago
While not proper, I was able to resize the images, @anisimovevgeniy, by modifying the modules\MMM-Instagram\MMM-Instagram.js file and adding an inline style to the image tag below:
` var tempimage = this.images.photo[this.activeItem];
// image
var imageLink = document.createElement('div');
//imageLink.innerHTML = "<img src='https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png'>";
imageLink.id = "MMM-Instagram-image";
imageLink.innerHTML = "<img src='" + tempimage.photolink + "' style='margin-top:-100px;height:200px;width:auto;'>";
imageDisplay.appendChild(imageLink);
wrapper.appendChild(imageDisplay);
`
Currently don't have any support for allowing images to be resized. The code takes a specific size of the available sized images provided by instagram.