jsmrtn / craftagram

Grab Instagram content through the Instagram Basic Display API
Other
14 stars 8 forks source link

resize images #5

Closed proximo7 closed 4 years ago

proximo7 commented 4 years ago

Is there any way to resize images pulled from the Instagram feed? We're displaying them at about 250px but the images are about 1200px which causes a big performance hit.

jsmrtn commented 4 years ago

You would need to use a plugin that enables you to make transforms on remote URLs, like Imager X.

The basic display API only returns a single size image in media_url (unlike the previous version that returned named sizes), so there isn’t anything I can do in this plugin, unfortunately.