# Photo-hosting gets to the topic's "popular links" even though all photos are downloaded locally as by Discourse settings

**URL:** https://meta.discourse.org/t/photo-hosting-gets-to-the-topics-popular-links-even-though-all-photos-are-downloaded-locally-as-by-discourse-settings/32116
**Category:** Bug
**Created:** [8월 14, 2015, 2:58오후 UTC](https://meta.discourse.org/t/photo-hosting-gets-to-the-topics-popular-links-even-though-all-photos-are-downloaded-locally-as-by-discourse-settings/32116 "2015-08-14T14:58:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [8월 14, 2015, 2:58오후 UTC](https://meta.discourse.org/t/photo-hosting-gets-to-the-topics-popular-links-even-though-all-photos-are-downloaded-locally-as-by-discourse-settings/32116/1 "2015-08-14T14:58:41Z")

</div>

Consider this topic:

> **[Ура, мы родились! Наши ламанчики](https://forum.kozovod.com/t/ura-my-rodilis-nashi-lamanchiki/433)**
>
> Вчера пополненице две девульки по 2.900. Мамка - козочка зааненского типа около 5л на пике, а папка -ламанч суслик Даниель из хозяйства Эдуарда

Among popular links, it lists [radikali.ru](http://radikali.ru), which is a photohosting:

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

In the topic, there are no links at all.

I suppose the links were for the photos to the photo-hosting. However, my Discourse instance is configured to download and store all images locally. So, not sure why that link is in the “top links” list. I do not want it and it makes no sense - is this a bug? If not, how do I remove the link from that 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: [8월 14, 2015, 5:35오후 UTC](https://meta.discourse.org/t/photo-hosting-gets-to-the-topics-popular-links-even-though-all-photos-are-downloaded-locally-as-by-discourse-settings/32116/2 "2015-08-14T17:35:59Z")

</div>

Thanks for reporting that issue. I moved the topic link extraction (process that builds the “Popular Links” list) to the `PostRevisor` so that it’s done every time a post is revised (including when we pull hotlinked images ;))

[https://github.com/discourse/discourse/commit/23a5c6444af079d4071a74365c757ea34e727eb1](https://github.com/discourse/discourse/commit/23a5c6444af079d4071a74365c757ea34e727eb1)

You can fix your issue by updating to latest and rebaking the relevant posts.

---

<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: [8월 14, 2015, 5:36오후 UTC](https://meta.discourse.org/t/photo-hosting-gets-to-the-topics-popular-links-even-though-all-photos-are-downloaded-locally-as-by-discourse-settings/32116/3 "2015-08-14T17:36:31Z")

</div>


