codefog / contao-instagram

Contao extension that displays Instagram feed on your website
MIT License
11 stars 12 forks source link

Unterschiedliche Auflösungen zur Auswahl hinzufügen #1

Closed osae83 closed 6 years ago

osae83 commented 6 years ago

Über die Api gibt es unterschiedliche Auflösungen die man mit in der Modulkonfiguration packen könnte

thumbnail ->width: 150, height: 306 low_resolution -> width: 306, height: 306 standard_resolution -> width: 612, height: 612

z. B.: <?php $item['images']['thumbnail']['url'] $item['images']['thumbnail'] ['width'] $item['images']['thumbnail']['height'] .... <img src="<?= $item['images']['thumbnail']['url'] ?>" alt="<?= specialchars($item['caption']['text']) ?> width="<?= $item['images']['thumbnail']['width'] ?>" height="<?= $item['images']['thumbnail']['height'] ?>">

Gruß Olli

qzminski commented 6 years ago

Sorry, I do not speak German. Can you explain your issue in English?

osae83 commented 6 years ago

Ok I'll try it topic: Add different resolutions to the module setting

Via the Instagram-API there are different resolutions that could be packed in the module configuration

osae83 commented 6 years ago

And you could also integrate the following template -> gallery_default.html5 This allows the Instagram images to adapt immediately to the contao standard gallery and is relatively easy to adjust.

qzminski commented 6 years ago

Are you able to provide a pull request for this feature?

qzminski commented 6 years ago

An option to download images was implemented in 530ee9e.