Last active
June 3, 2022 00:29
-
-
Save jazibobs/c740da6a067aee19840c to your computer and use it in GitHub Desktop.
Get a link to the image file from an instagram url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Use a standard instagram url such as https://www.instagram.com/p/BB70H3bMEH-/ | |
at the end of the link append media/?size=THE_IMAGE_SIZE_YOU_WANT | |
--> | |
<!-- Get the image file as a thumbnail --> | |
<img src="https://www.instagram.com/p/BB70H3bMEH-/media/?size=t" alt="Instagram Image Thumbnail"> | |
<!-- Get the medium image file --> | |
<img src="https://www.instagram.com/p/BB70H3bMEH-/media/?size=m" alt="Instagram Image Medium"> | |
<!-- Get the large image file --> | |
<img src="https://www.instagram.com/p/BB70H3bMEH-/media/?size=l" alt="Instagram Image Large"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment