codemonauts / craft-instagram-feed

Craft CMS plugin to receive Instragram feed data as variable in templates
MIT License
27 stars 7 forks source link

Limit of Photos & Photo Ratio #30

Closed smilefootage closed 4 years ago

smilefootage commented 4 years ago

Is there any option for the limit of the pictures? Now its 12 by default. And, is there a way to get the original source of an image and not a cropped square?

fleaz commented 4 years ago

Hi @smilefootage

because we can't use the official API we have to get the images from the website and therefore we are limited to a maximum of twelve entries. If you wan't less than twelve images you can have a look at #25

Regarding the image format: We don't get the "original" uploaded image we just get downscaled versions both in the original aspect ratio as well as a croped square one. We sticked to the cropped one because it's easier to integrate in a website design and square images have this "Instagram look" because it's kind of their distinctive feature.

But because we also get the URL to the uncroped version, we will additionally make this available in the next release if people wan't to use the images in the original aspect ratio :)

Best regards, Felix

smilefootage commented 4 years ago

Thanks for your help :) @fleaz