[imgur] tag

Sat Jul 22, 2017 8: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:
[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.

Re: [imgur] tag

Sat Jul 22, 2017 8:56 am

Now THIS is nice! Thank you Rachael!

EDIT: Oh right, no smilies allowed here.

Re: [imgur] tag

Sat Jul 22, 2017 8:57 am

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

(edit: should be fixed now)

Re: [imgur] tag

Sat Jul 22, 2017 9:03 am

:mrgreen:

Sure does, thanks!

Re: [imgur] tag

Sat Jul 22, 2017 11:24 am

FINALLY! Thank you so much for this <3

Re: [imgur] tag

Sat Jul 22, 2017 11:35 am

Can you make it work with direct image links as well? Currently
Code:
[imgur]http://imgur.com/fNUAkVt[/imgur]
works fine, but
Code:
[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.

Re: [imgur] tag

Sat Jul 22, 2017 11:36 am

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.

Re: [imgur] tag

Sat Jul 22, 2017 11:41 am

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:
[imgur]http://imgur.com/fNUAkVt[/imgur]
works fine, but
Code:
[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.

Re: [imgur] tag

Sat Jul 22, 2017 12:46 pm

Literally all of my yes. This is perfect, thank you :wub:

Re: [imgur] tag

Sat Jul 22, 2017 8: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

Re: [imgur] tag

Sun Jul 23, 2017 3: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?).

Re: [imgur] tag

Sun Jul 23, 2017 10: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!

Re: [imgur] tag

Mon Jul 24, 2017 5:16 am

No more than [img] and [imgur] IMO :p

Re: [imgur] tag

Tue Jul 25, 2017 4:11 pm

What's the advantage of [imgur] over good ol' [img], if I may ask?

Re: [imgur] tag

Tue Jul 25, 2017 4:13 pm

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