# Surprising behavior: This image is too large to display; click here to view

**URL:** https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456
**Category:** UX
**Created:** [05.Ноябрь.2017 13:28:58 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456 "2017-11-05T13:28:58Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [05.Ноябрь.2017 13:28:58 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/1 "2017-11-05T13:28:58Z")

</div>

I find this behavior surprising:

1. I post a link to an image on it’s own line, like the one below from [the article](http://blog.mural.co/remote-design-at-trello-interview-with-chris-kimbell).
2. It shows up in the preview fine
3. I create the post
4. It shows up fine in my post for a while.
5. Later, it gets replaced with a thumbnail saying: “This image is too large to display; click here to view”

Onebox link:

> **[Blog | Mural](https://www.mural.co/blog)**
>
> View insights, event recaps, and how teams transform work with visual collaboration. Read articles on remote work, facilitation, design thinking, and more.

Preview screenshot:

 ![preview-screenshot](https://global.discourse-cdn.com/meta/original/3X/f/5/f58e698427a6b34b639c16205945e815f9e69020.jpg)

After post screenshot:

 ![after-post-screenshot](https://global.discourse-cdn.com/meta/original/3X/8/d/8dc1871b79e26951e98ceaf1381dcf91b2f83756.jpg)

After image is replaced screenshot:

_TODO_

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [05.Ноябрь.2017 13:59:26 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/2 "2017-11-05T13:59:26Z")

</div>

> [@mcwumbly](#):
>
> After image is replaced screenshot:
> 
> TODO

Looks like the problem isn’t happening here. Maybe it’s a site setting I need to adjust to work around this issue?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [05.Ноябрь.2017 14:28:50 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/3 "2017-11-05T14:28:50Z")

</div>

[https://meta.discourse.org/t/image-too-large-to-link/69954/16?u=trash](https://meta.discourse.org/t/image-too-large-to-link/69954/16)

What’s the value of `max image size kb`?

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [05.Ноябрь.2017 14:47:55 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/4 "2017-11-05T14:47:55Z")

</div>

Currently it’s 4MB (4096 KB). Looks like that image is 35 MB.

What have others set that to nowadays?

---

<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: [05.Ноябрь.2017 20:27:26 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/5 "2017-11-05T20:27:26Z")

</div>

This is in @vinothkannans list of things to improve. The behavior is correct but the UI could use some work.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [05.Ноябрь.2017 21:23:32 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/6 "2017-11-05T21:23:32Z")

</div>

If there were anyway to make it clear this would happen in the _preview_, that would make it a lot less surprising.

Also, it wasn’t clear to me what “too large” meant, as there are site settings both for file size and for dimensions. I wasn’t sure which setting would need adjusting with the current language.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [06.Ноябрь.2017 15:25:18 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/7 "2017-11-06T15:25:18Z")

</div>

[PR](https://github.com/discourse/discourse/pull/5291) created. The new UI won’t create confusions.

---

<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: [06.Ноябрь.2017 15:36:49 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/8 "2017-11-06T15:36:49Z")

</div>

> [@mcwumbly](#):
>
> If there were anyway to make it clear this would happen in the preview, that would make it a lot less surprising.

The issue is that we’re doing some magic ✨ server-side to automatically downsize big images which we can’t really do client-side.

> [@mcwumbly](#):
>
> Also, it wasn’t clear to me what “too large” meant, as there are site settings both for file size and for dimensions. I wasn’t sure which setting would need adjusting with the current language.

I agree. One setting is only used to create thumbnails, the other is to prevent mobile users from wasting their bandwidth downloading a gigabyte GIF.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [06.Ноябрь.2017 15:50:00 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/9 "2017-11-06T15:50:00Z")

</div>

Cool, thanks. What happens in the new UI?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [06.Ноябрь.2017 16:02:02 UTC](https://meta.discourse.org/t/surprising-behavior-this-image-is-too-large-to-display-click-here-to-view/73456/10 "2017-11-06T16:02:02Z")

</div>

![Screenshot from 2017-11-06 21-30-40](https://global.discourse-cdn.com/meta/original/3X/3/2/32478023973b3e8a833d5492a80e5d442a8dd751.png)

As you can see it will have some explanation.
