# Wrong images displayed on screen overlay

**URL:** https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526
**Category:** Bug
**Created:** [15. Juni 2017 um 05:59 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526 "2017-06-15T05:59:26Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [15. Juni 2017 um 05:59 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526/1 "2017-06-15T05:59:26Z")

</div>

On Android, discourse sometimes displays the wrong images when navigating through multiple images in a post (in the screen layover that pops up when tapping an image).

In this post, for example, I get several images from the stock material theme instead of the daemonite ones included in the post:

> [@Daemonite Material Theme](https://meta.discourse.org/t/daemonite-material-theme/64521):
>
> The Daemonites have released a brand new, native theme for the Discourse forum based on the Google Material design guidelines. As Flash as a Rat with a Gold Tooth There’s a lot of effort in Materializing a design that didn’t start out that way. We’re happy with the result. Topic Preview Plugin Support Colourful Sub-Categories New Topic; with Inbox inspiration Menus, Buttons and Material Icons Why build “another” Mat…

**Repro** … click `[image]` above :arrow_double_up:

---

<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: [15. Juni 2017 um 08:08 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526/2 "2017-06-15T08:08:49Z")

</div>

Can you repro @tgxworld?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [15. Juni 2017 um 12:27 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526/3 "2017-06-15T12:27:53Z")

</div>

Easy repro, happens when oneboxing a local topic containing images

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [15. Juni 2017 um 15:36 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526/4 "2017-06-15T15:36:01Z")

</div>

> [@tophee](#):
>
> Repro … click [image] above :arrow_double_up:

Hm, I can’t repro this by clicking on [image] above. I can only repro by actually visiting the topic and clicking on an actual image there. (BTW: it’s not specific to mobile but also happens on desktop)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [15. Juni 2017 um 17:38 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526/5 "2017-06-15T17:38:58Z")

</div>

It is a repro, the issue you are seeing is that “quoted” images are in the carousel.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [15. Juni 2017 um 18:05 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526/6 "2017-06-15T18:05:28Z")

</div>

Ah, I see. The this issue is perhaps a bit more complicated than I thought, because I think it’s not a bad idea to have quoted images pop up when you click [Image]. So would it be possible to have that without adding them to the carousel? Perhaps there could be a separate carousel for each post?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [15. Juni 2017 um 18:12 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526/7 "2017-06-15T18:12:26Z")

</div>

its quite a simple fix, `[image]` really should not be a hyperlink.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [15. Juni 2017 um 19:00 UTC](https://meta.discourse.org/t/wrong-images-displayed-on-screen-overlay/64526/8 "2017-06-15T19:00:11Z")

</div>

So if you remove the hyperlink, that fixes it? Aren’t the images just hidden and will nevertheless be in the carousel?

If you remove the hyperlinks, what will happen when I unfold the quoted post, revealing the images? Will the then be in the carousel but disappear again when I collapse the quote again?
