First post, by Stiletto
- Rank
- l33t++
Imgur now wants users to use the new IFrame embed code provided by them, but VOGONS has HTML code support disabled. So what to do?
Well, all of Imgur's old functionality still works (just deprecated?) so here's what you can do. Unfortunately, it requires writing the code manually as there's no script built into the forum to do it automatically.
1. Get the "BBCode (message boards & forums)" code for your image. Ex.:
[img]http://i.imgur.com/o8kleQb.jpg[/img]
If that's not available for some reason, get the "Direct Link (email & IM)" URL for your image, and then surround it with image tags (if in full view, you can use the [Img] button in the menu bar above the new post/new topic window).
2. If you'd like to display only a thumbnail version of your image, Imgur automatically generates these! See Imgur's API documentation:
http://api.imgur.com/models/image
Thumbnail Suffix - Thumbnail Name - Thumbnail Size - Keep Image Proportions
s - Small Square - 90x90 - No
b - Big Square - 160x160 - No
t - Small Thumbnail - 160x160 - Yes
m - Medium Thumbnail - 320x320 - Yes
l - Large Thumbnail - 640x640 - Yes
h - Huge Thumbnail - 1024x1024 - Yes
Here's how to get this to work. You will have to manually enter:
[img]http://i.imgur.com/o8kleQbm.jpg[/img]
- adding m (or whatever the desired thumbnail size) to the filename of the image.
Did you notice the "m" just before the file extension? That's how you tell Imgur that, "Hey, this is medium sized, so downsize this image, please!"
3. BUT! We are not done yet. If you want to get the "thumbnail" clickable, we have to create the hyperlink. So... Example:
[url=http://i.imgur.com/o8kleQb.jpg][img]http://i.imgur.com/o8kleQbm.jpg[/img][/url]
Note that the first link has the original URL - this is what it will take people to when they click on the image, while the URL surrounded by [img] BBCode tags is the thumbnail URL. You could even make this link the URL to the Imgur page:
[url=http://imgur.com/o8kleQb][img]http://i.imgur.com/o8kleQbm.jpg[/img][/url]
... or anything you want! (within reason)
Hope this helps out you Imgur users.
Please note that the image embedding feature of VOGONS is also working fine these days so you are welcome to use the "Upload attachment" feature and use VOGONS for image hosting. Again, within reason. 😀
"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen
Stiletto