(how to) imgur, displaying image.

General discussion and socializing.

(how to) imgur, displaying image.

Postby mvgulik » Sun Oct 20, 2019 4:21 am

Used Image: Id: "rgx4piN" =(image-post-page)=> http://imgur.com/rgx4piN

Imgur allows for displaying the source image at other smaller resolutions (ie: thumbnails).
For this one would append one of the following characters to the image-id part.
["s", "b", "t", "m", "l", "h"] (only one & case sensitive. ... See Doc link and Example code-block.)
Related Imgur thumbnails doc

Code: Select all
X) [img]http://imgur.com/rgx4piN[/img] (Bad usage => Missing image extension)
S) [img]http://imgur.com/rgx4piNs.png[/img] (Small squared size, Short side re-scale to 90x90, +long side center-Cropped to 90 px)
B) [img]http://imgur.com/rgx4piNb.png[/img] (Big squared size, Short side re-scale to 160x160, +long side center-Cropped to 160 px)
T) [img]http://imgur.com/rgx4piNt.png[/img] (Tiny size, Longest side, down-scaled to 160 px)
M) [img]http://imgur.com/rgx4piNm.png[/img] (Medium size, Longest side, down-scaled to 320 px)
L) [img]http://imgur.com/rgx4piNl.png[/img] (Large size, Longest side, down-scaled to 640 px)
H) [img]http://imgur.com/rgx4piNh.png[/img] (Huge size, Longest side, down-scaled to 1024 px)
O) [img]http://imgur.com/rgx4piN.png[/img]  (Original size)

Valid image extensions: ".png", ".jpg", ".jpeg", ".gif".
+ Which of those extensions is used ... actually don't matters.
+ Lowercase only.
+ Exception: The ".gifv" extension. Don't use that (in url-links) on none gifv images.


X) (Bad usage => Missing image extension)
Image

S) (Small squared size, 90x90)
Image

B) (Big squared size, 160x160)
Image

T) (Tiny size, max side 160 px)
Image

M) (Medium size, max side 320 px)
Image

L) (Large size, max side 640 px)
Image

H) (Huge size, 1024 px)
Image

O) (Original size)
Image


--- --- ---

To display a smaller image that links to the original-sized image, or the image-page, just enclose the image-tag in a url-tag.
(using gif on a jpeg image here)
Image
Code: Select all
[url=http://imgur.com/rgx4piN.gif] [img] http://imgur.com/rgx4piNt.gif [/img] [/url]


--- --- ---

Code: Select all
[url=http://www.havenandhearth.com/forum/viewtopic.php?p=841905#p841905][color=#008](how to) imgur, displaying image.[/color][/url]
link preview: (how to) imgur, displaying image.

... burp ...
Last edited by mvgulik on Sun Oct 27, 2019 5:32 pm, edited 8 times in total.
mvgulik
 
Posts: 3774
Joined: Fri May 21, 2010 2:29 am

Re: (how to) imgur, displaying image.

Postby vatas » Sun Oct 20, 2019 8:55 am

Took me a moment to realize what you were going after. Further demonstration with this image that caught my attention on imgur frontpage yesterday.
S) (Squared size, 90x90, Cropped, No Alpha)
Image

T) (Tiny size, No up-scale, (No Alpha))
Image

M) (Medium size, No up-scale, (No Alpha))
Image

L) (Large size, No up-scale, (No Alpha))
Image

O) (Original size)
Image
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
User avatar
vatas
 
Posts: 4912
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: (how to) imgur, displaying image.

Postby mvgulik » Sun Oct 20, 2019 9:22 am

Aha.
+ Square image: Smallest side, scaled 90 px, +re-scaled longest side center-Cropping to 90 px.
+ Tiny: Longest side, down-scaled to 160 px.
+ Medium: Longest side, down-scaled to 320 px.
+ Large: Longest side, down-scaled to 640 px.

... Mmm, in hindsight "The Inn of Brodgar" would have been the more appropriate forum section for this topic. ...
mvgulik
 
Posts: 3774
Joined: Fri May 21, 2010 2:29 am

Re: (how to) imgur, displaying image.

Postby MagicManICT » Sun Oct 20, 2019 5:48 pm

Interesting post, and should help with some of the broken image links people post... assuming they read this. Took me a second to realize it's appending a single letter code to the end of a file name. Could be useful, and might think about enforcing this on some of people's "screen sized" images in their threads.

mvgulik wrote:... Mmm, in hindsight "The Inn of Brodgar" would have been the more appropriate forum section for this topic. ...

Maybe. One could argue "the wizards' tower" because it's more about "power user" features for the forum. Moved, though, because it applies anywhere you'd post an imgur link.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: (how to) imgur, displaying image.

Postby mvgulik » Sun Oct 20, 2019 8:25 pm

MagicManICT wrote:Took me a second to realize it's appending a single letter code to the end of a file name


Yea, that part was not standing out that well. (fixed, kinda)
mvgulik
 
Posts: 3774
Joined: Fri May 21, 2010 2:29 am

Re: (how to) imgur, displaying image.

Postby mvgulik » Tue Oct 22, 2019 10:07 pm

Finally, after a hunch. found some imgur doc on those thumbnails.
+ doc link
+ additional thumbnail cases. (b, h)
+ ".gifv" exception.
mvgulik
 
Posts: 3774
Joined: Fri May 21, 2010 2:29 am


Return to The Inn of Brodgar

Who is online

Users browsing this forum: Claude [Bot], Yandex [Bot] and 210 guests