Open full view…

Uploading images shows URL and not image

Kym Campbell
Wed, 22 Mar 2017 23:22:50 GMT

A user of mine uploaded an image in a post to my embedded forum. The image was in the form of a link: [Screen Shot 2017-03-23 at 9](// You can see the image title and also: "(//" Once you select "show more" it shows this: [Screen Shot 2017-03-23 at 9](// I dont mind the image title showing in the link, but I do not like that it shows the URL - "(//". How do I make it so this does not appear when people post images?

Wed, 22 Mar 2017 23:31:00 GMT

This is an artifact of how markdown interacts with the post truncation. Basically, markdown processing happens _after_ the text is displayed. So that means without the closing parenthesis — which in this example is after the cut — it shows as an incomplete image link. It'll happen anytime the image gets posted just before the truncation.