You're viewing old version number 3. - Current version

Testing the new insta command

For easily embedding an Instragram photo.

Use the URL to the web page and not the image:

<img src="http://photos-d.ak.instagram.com/hphotos-ak-xfa1/10684334_1534205166796627_1819483882_n.jpg" width="320" height="320"></img>

  1. will do a fetch on that URL
  2. parse the web page for the Open Graph meta property:
    <meta property="og:image" content="http://photos-d.ak.instagram.com/hphotos-ak-xfa1/10684334_1534205166796627_1819483882_n.jpg" />
  3. use the content URL within an HTML img tag with width and height set to 320 pixels. I use 320 pixels the most when embedding an Instagram photo, so I'll default to that.
  4. maybe provide the option to specify width and height params. Instagram photos are normally 640 x 640 pixels. maybe allow:
    <img src="http://photos-d.ak.instagram.com/hphotos-ak-xfa1/10684334_1534205166796627_1819483882_n.jpg" width="320" height="320"></img> 640x640

#junco - #photo - #testing

From JR's : articles
105 words - 901 chars
created on
updated on - #
source - versions

Related articles
Testing the new insta command - May 17, 2016
Junco user actions - Nov 01, 2013
Testing fenced code block commands - Sep 23, 2014
This is a test: with the colon punct in the title - Jul 16, 2014



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 15, 2024 - 8:38 a.m. EST