# Thumbnail generation & markdown rendering issue

**URL:** https://meta.discourse.org/t/thumbnail-generation-markdown-rendering-issue/152701
**Category:** Support
**Created:** [May 25, 2020, 11:16pm UTC](https://meta.discourse.org/t/thumbnail-generation-markdown-rendering-issue/152701 "2020-05-25T23:16:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 26, 2020, 12:36pm UTC](https://meta.discourse.org/t/thumbnail-generation-markdown-rendering-issue/152701/2 "2020-05-26T12:36:50Z")

</div>

Hi @Arkshine, sorry to hear you’re having issues here. Unfortunately we can’t guarantee compatibility with all third-party plugins, especially where they override core behaviour beyond the scope of our plugin APIs. Going forward, TLP should able to reduce the number of core overrides it uses, and hopefully stability will improve.

Note that we now also have our [official solution](https://meta.discourse.org/t/topic-list-thumbnails-theme-component/150602) to displaying thumbnails, which is implemented entirely using our supported plugin APIs.

You are correct that core thumbnails only work for local images. Ultimately, TLP was pulling images and storing them locally as well, so the difference now is that we’re doing everything in a consistent way using the pull\_hotlinked\_images job.

It sounds like we have a couple issues to resolve here. I think it would be best to split them out so that we don’t miss anything. Reading through your post, I see two things:

> [@Arkshine](#):
>
> When discourse downloads and replaces an image HTML with its markdown syntax – in our context, this results as:
> 
> ```plaintext
> [...]<a href="<link_here>" target="_blank">![|150x150](upload://l0iarnA6SPVAyJN5l7pnQxZnPvE.jpeg)</a>[...]
> 
> ```
> 
> Discourse is unable to render the image  
> …
> 
> Would it be possible to allow rendering markdown image surrounded by HTML, please?

Pulling remote images shouldn’t result in invalid html/markdown, so we will try and get this fixed. Please go ahead and open a #Contribute > Bug topic, mention me, and we’ll look into it.

> [@Arkshine](#):
>
> Some topic are ignored even after an edit. I can see `PullHotlinkedImages` is triggered but no images are downloaded. (like with this html `<img src="https://zuzu.reviews/wp-content/uploads/2020/05/HiZERO-VS-BISSEL-VS-שואב-אלחוטי-VS-שואב-רובוטי-VS-מגב-ודלי-VS-מטאטא-VS-ספונגה-חשמלית-150x84.jpg" />`

Again, special characters shouldn’t break the images here. Please open another #Contribute > Bug topic and we’ll take a look.

---

_[View the full topic](https://meta.discourse.org/t/thumbnail-generation-markdown-rendering-issue/152701)._
