Low Resolution Flickr/500px Onebox


(Pat David) #1

Howdy all!

Just ran into this on my instance (v1.8.0.beta1 +33) at https://discuss.pixls.us.

Oneboxing of images from image sites like Flickr and 500px are using low-resolution thumbnails:

Flickr image:
Mairi Mid-Air (In the Lane) | At the pre-LGM photowalk in Fi… | Flickr


500px image:
Mairi B&W by Pat David - Photo 169440993 / 500px


Imgur album:
Imgur: The magic of the Internet
Imgur: The magic of the Internet


Imgur image:
Imgur: The magic of the Internet
Imgur: The magic of the Internet


(Régis Hanol) #2

I agree. Added to my list :pencil:


(Régis Hanol) #3

That should fix it :wink:


(Pat David) #4

I’ve noticed some odd scaling problems with an xkcd onebox link on my instance. Testing if it happens here as well (and if so, there’s a weird scaling issue with xkcd onebox embeds! :slight_smile: ).


#6

The good news is, on email the ratio is correct.

–Edit–
I think it is fixed in latest master. Just tested it.


(Mittineague) #7

It looks like the xkcd image dimensions are swapped.
i.e. height is assigned to width and width is assigned to height.

Is the same onebox code used for both flickr and xkcd?


(Simeon) #8

This is still a problem for Flickr’s shortened URL’s. Example:

https://flic.kr/p/T3UqgH


(Pat David) #9

This appears to still be a problem with xkcd links for instance:

(The preview does show the correct aspect).

Here is the rendered result just now:


(Jeff Atwood) #10

It is due to fixed height requirement on onebox, @zogstrip has it on his list.


(Pat David) #11

Awesome, thank you very much (both for this and in general. :slight_smile: )!


(Robin Ward) #13

I have fixes for the XKCD and Flickr shortened URLs in the latest builds of Discourse!


(Jeff Atwood) #14