[imgur] tag

We sure do have a lot of rules and guidelines threads - find them all here, and please make sure you've read them! Also, community-wide announcements (that aren't major ZDoom News) go here as well.
User avatar
Rachael
Posts: 13613
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

[imgur] tag

Post by Rachael »

A new tag has been added. It should be pretty straightforward to use - just paste an imgur link inside imgur tags - like so:

Code: Select all

[imgur]http://imgur.com/w3vYVcr[/imgur]


Note that this does not work with album links. This can only be used for individual images.

This automatically resizes your image according to forum rules and creates a link to imgur for the full-sized image.

This is meant to take a lot of work out of getting imgur links to work properly on the forum.

To get the proper link, click on the "copy" in the upper right corner of the image.

User avatar
Major Cooke
Posts: 8182
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [imgur] tag

Post by Major Cooke »

Now THIS is nice! Thank you Rachael!

EDIT: Oh right, no smilies allowed here.
User avatar
Rachael
Posts: 13613
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [imgur] tag

Post by Rachael »

Really? I'll have to fix that... thanks for pointing that out.

(edit: should be fixed now)
User avatar
Major Cooke
Posts: 8182
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [imgur] tag

Post by Major Cooke »

:mrgreen:

Sure does, thanks!
User avatar
Nash
 
 
Posts: 17450
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [imgur] tag

Post by Nash »

FINALLY! Thank you so much for this <3
User avatar
Caligari87
Admin
Posts: 6181
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him

Re: [imgur] tag

Post by Caligari87 »

Can you make it work with direct image links as well? Currently

Code: Select all

[imgur]http://imgur.com/fNUAkVt[/imgur]
works fine, but

Code: Select all

[imgur]http://i.imgur.com/fNUAkVt.png[/imgur]
does not. Yes, I know those can be used with the [img] tag, but then I have to take care of the linking/thumbnailing manually. Ideally the end result would be the same, but widening the possible input seems reasonable to me.

EDIT: To piggyback on Xaser, perhaps the first style (as it works currently) can link to the imgur page, and the second style (direct image link) can go to the direct image.

8-)
Last edited by Caligari87 on Sat Jul 22, 2017 11:37 am, edited 2 times in total.
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm

Re: [imgur] tag

Post by Xaser »

Hmm, the generated links go to the imgur page that hosts the image, rather than the image itself. This behavior would be useful for albums, but since those are unsupported, it'd be preferable if the generated link goes to the full-size image directly instead. Otherwise, this is aces.
User avatar
Rachael
Posts: 13613
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [imgur] tag

Post by Rachael »

Xaser wrote:Hmm, the generated links go to the imgur page that hosts the image, rather than the image itself. This behavior would be useful for albums, but since those are unsupported, it'd be preferable if the generated link goes to the full-size image directly instead. Otherwise, this is aces.
I've tried several links and imgur seems to insist on using their presentation page. However it finally worked when I turned off https in the link.
Caligari87 wrote:Can you make it work with direct image links as well? Currently

Code: Select all

[imgur]http://imgur.com/fNUAkVt[/imgur]
works fine, but

Code: Select all

[imgur]http://i.imgur.com/fNUAkVt.png[/imgur]
does not. Yes, I know those can be used with the [img] tag, but then I have to take care of the linking/thumbnailing manually. Ideally the end result would be the same, but widening the possible input seems reasonable to me.

8-)
I don't think that is possible but I can try playing with it more, later.

It's not possible. I'm stretching the limits of the BBCode system on phpBB 3.0 as it is.
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: [imgur] tag

Post by Tapwave »

Literally all of my yes. This is perfect, thank you :wub:
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm

Re: [imgur] tag

Post by Xaser »

Rachael wrote:I've tried several links and imgur seems to insist on using their presentation page. However it finally worked when I turned off https in the link.
That is really friggin' weird, but sure enough, I'm seeing the behavior too after mucking about with it. o_O

Amusingly, the HTTP link redirects to HTTPS anyway... I wonder if Imgur's intent is to redirect you to the wrapper page always, but the automatic HTTP->HTTPS redirection thwarts this? Would be highly amusing to see a major site also struggle with URL rewriting rules. :P
Gez
 
 
Posts: 17838
Joined: Fri Jul 06, 2007 3:22 pm

Re: [imgur] tag

Post by Gez »

Rachael wrote:It's not possible. I'm stretching the limits of the BBCode system on phpBB 3.0 as it is.
It'd have to be a different tag ([iimgur] or [imguri] perhaps?).
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA

Re: [imgur] tag

Post by Project Shadowcat »

Gez wrote:
Rachael wrote:It's not possible. I'm stretching the limits of the BBCode system on phpBB 3.0 as it is.
It'd have to be a different tag ([iimgur] or [imguri] perhaps?).
That won't get confusing at all!
Gez
 
 
Posts: 17838
Joined: Fri Jul 06, 2007 3:22 pm

Re: [imgur] tag

Post by Gez »

No more than [img] and [imgur] IMO :p
User avatar
zrakbz
Posts: 31
Joined: Sun Apr 02, 2017 1:26 pm
Location: Varies

Re: [imgur] tag

Post by zrakbz »

What's the advantage of [imgur] over good ol' [img], if I may ask?
User avatar
Hellser
Global Moderator
Posts: 2708
Joined: Sun Jun 25, 2006 4:43 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Citadel Station

Re: [imgur] tag

Post by Hellser »

Able to post a link to imgur without scaling it down or going down the [url=][img] chain.

Return to “Rules and Forum Announcements”