Auto-download images inserted as bb codes


(Anton) #1

My users discovered an endless source of emojis…

They’re just clicking the “copy insert code for forums” button on various emoji collection websites and inserting the code in our forum. The code looks like this:

[url=http://www.topglobus.ru/besplatno-smajliki-forum-blog-web]>
[img]/uploads/default/original/2X/6/61b284bfd48d9fa5a1b60f750aa94fca1d37ffe0.gif[/img]
[/url]

Not only does Discourse skip downloading such an image for local storage, it also keeps an undesired link. i.e. the image is clickable.

I think this behaviour is not desirable. But if that was the intention, may we have an option to automatically convert such IMG insider URL combinations into a simple static image, which is them downloaded and stored locally, just like any other images in topic replies?