# Low Resolution Flickr/500px Onebox

**URL:** https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552
**Category:** Bug
**Created:** [January 10, 2017, 11:18pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552 "2017-01-10T23:18:07Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)
#### Post date: [January 10, 2017, 11:18pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/1 "2017-01-10T23:18:07Z")

</div>

Howdy all!

Just ran into this on my instance (v1.8.0.beta1 +33) at [https://discuss.pixls.us](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](https://www.flickr.com/photos/patdavid/27073499415)

[![Imgur](https://global.discourse-cdn.com/meta/original/4X/0/6/4/064afcac85944d88783fc169c4e40b9393380c23.jpeg "Mairi Mid-Air (In the Lane)") ](https://www.flickr.com/photos/patdavid/27073499415)

* * *

500px image:  
[500px](https://500px.com/photo/169440993/mairi-b-w-by-pat-david)

![]( "500px")

* * *

Imgur album:  
[Imgur: The magic of the Internet](http://imgur.com/a/FPk70)  
[Imgur: The magic of the Internet](http://imgur.com/a/FPk70)

* * *

Imgur image:  
[Imgur: The magic of the Internet](http://imgur.com/eiomPF8)  
[Imgur: The magic of the Internet](http://imgur.com/eiomPF8)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 10, 2017, 11:21pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/2 "2017-01-10T23:21:13Z")

</div>

I agree. Added to my list ✏

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 11, 2017, 8:52pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/3 "2017-01-11T20:52:48Z")

</div>

That should fix it 😉

[https://github.com/discourse/onebox/commit/15fae6cc6f595e6f753afa585a25f53bed6e6782](https://github.com/discourse/onebox/commit/15fae6cc6f595e6f753afa585a25f53bed6e6782)

[https://github.com/discourse/onebox/commit/731a93a5fc35fd58d0d42492be19d9a10ddab9e7](https://github.com/discourse/onebox/commit/731a93a5fc35fd58d0d42492be19d9a10ddab9e7)

---

<div class="post-metadata">

### Author: ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)
#### Post date: [March 23, 2017, 4:54pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/4 "2017-03-23T16:54:29Z")

</div>

> **[Color Pattern](https://xkcd.com/1814/)**

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! 🙂 ).

---

<div class="post-metadata">

### Author: ![bekicot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekicot/32/116294_2.png) [@bekicot](https://meta.discourse.org/u/bekicot)
#### Post date: [March 23, 2017, 5:21pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/6 "2017-03-23T17:21:43Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/f/d/fdff66fe18fa2e0b15654f2c9cba1cde33bd4c30.jpg)

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

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

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [March 23, 2017, 7:38pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/7 "2017-03-23T19:38:50Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![SimeonGriggs](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@SimeonGriggs](https://meta.discourse.org/u/SimeonGriggs)
#### Post date: [March 25, 2017, 7:35am UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/8 "2017-03-25T07:35:43Z")

</div>

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

`https://flic.kr/p/T3UqgH`

[![Imgur](https://global.discourse-cdn.com/meta/original/4X/d/9/9/d994e550ec1ccf408dfe54d95d91d0b2a7f5a90a.jpeg "Untitled | the borad | Flickr") ](https://www.flickr.com/photos/21439515@N03/33507055631/)

---

<div class="post-metadata">

### Author: ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)
#### Post date: [May 5, 2017, 2:17pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/9 "2017-05-05T14:17:01Z")

</div>

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

(The preview _does_ show the correct aspect).

> **[Photo Library Management](https://xkcd.com/1832/)**

Here is the rendered result just now:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/a/0a9cfa7dd3fcf77f4fd9a7be140d9dc56284f694.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 5, 2017, 4:00pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/10 "2017-05-05T16:00:40Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)
#### Post date: [May 5, 2017, 4:14pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/11 "2017-05-05T16:14:30Z")

</div>

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

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [May 12, 2017, 6:31pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/13 "2017-05-12T18:31:21Z")

</div>

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

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [July 29, 2017, 3:34pm UTC](https://meta.discourse.org/t/low-resolution-flickr-500px-onebox/55552/14 "2017-07-29T15:34:22Z")

</div>


