[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.

[imgur] tag

Postby Rachael » Sat Jul 22, 2017 9:43 am

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 allExpand view
[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
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: [imgur] tag

Postby Major Cooke » Sat Jul 22, 2017 9:56 am

Now THIS is nice! Thank you Rachael!

EDIT: Oh right, no smilies allowed here.
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007

Re: [imgur] tag

Postby Rachael » Sat Jul 22, 2017 9:57 am

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

(edit: should be fixed now)
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: [imgur] tag

Postby Major Cooke » Sat Jul 22, 2017 10:03 am

:mrgreen:

Sure does, thanks!
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007

Re: [imgur] tag

Postby Nash » Sat Jul 22, 2017 12:24 pm

FINALLY! Thank you so much for this <3
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: [imgur] tag

Postby Caligari87 » Sat Jul 22, 2017 12:35 pm

Can you make it work with direct image links as well? Currently
Code: Select allExpand view
[imgur]http://imgur.com/fNUAkVt[/imgur]
works fine, but
Code: Select allExpand view
[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 12:37 pm, edited 2 times in total.
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: [imgur] tag

Postby Xaser » Sat Jul 22, 2017 12:36 pm

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
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Re: [imgur] tag

Postby Rachael » Sat Jul 22, 2017 12:41 pm

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 allExpand view
[imgur]http://imgur.com/fNUAkVt[/imgur]
works fine, but
Code: Select allExpand view
[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
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: [imgur] tag

Postby Tapwave » Sat Jul 22, 2017 1:46 pm

Literally all of my yes. This is perfect, thank you :wub:
User avatar
Tapwave
On the GREEN!
 
Joined: 20 Aug 2011
Discord: Sunray#7070
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: [imgur] tag

Postby Xaser » Sat Jul 22, 2017 9:30 pm

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
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Re: [imgur] tag

Postby Gez » Sun Jul 23, 2017 4:21 am

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?).
Gez
 
 
 
Joined: 06 Jul 2007

Re: [imgur] tag

Postby Project Dark Fox » Sun Jul 23, 2017 11:23 pm

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!
User avatar
Project Dark Fox
Married Furry Anxiety Bucket
 
Joined: 14 Jul 2005
Location: Louisville, KY USA
Twitch ID: ProjectDarkFox
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: [imgur] tag

Postby Gez » Mon Jul 24, 2017 6:16 am

No more than [img] and [imgur] IMO :p
Gez
 
 
 
Joined: 06 Jul 2007

Re: [imgur] tag

Postby zrakbz » Tue Jul 25, 2017 5:11 pm

What's the advantage of [imgur] over good ol' [img], if I may ask?
User avatar
zrakbz
shitposter extraordinaire
 
Joined: 02 Apr 2017
Location: Yugoslavia

Re: [imgur] tag

Postby Hellser » Tue Jul 25, 2017 5:13 pm

Able to post a link to imgur without scaling it down or going down the [url=][img] chain.
User avatar
Hellser
Remember Citadel
 
Joined: 25 Jun 2006
Location: Citadel Station
Discord: Hellser#8156
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Next

Return to Rules and Forum Announcements

Who is online

Users browsing this forum: No registered users and 1 guest