Closed phaus closed 9 years ago
Sorry for the late reaction. I'm not sure about this one. How would we do this? Issue HEAD requests to every linked resource and look for image content types? We'd have to cache the result to avoid doing this over and over again. It's a neat idea, but I'm slightly worried about the added complexity (with small benefit).
Thinking about this some more, I was wrong and there is no need for caching: We can do the HEAD thing once and just put the img tag into the content. The user’s browser will then retrieve it, obviously no need to do that on the server side. Even simpler, we could allow using img tags in content.
I unfortunately introduced a duplicate to this with #70. Sorry.
If a Links ends with an extension (or pro version: has ContentType of an Image), it would be great to show that Images as Inline in a Post.