Only logged in members can reply and interact with the post.
Join SimilarWorlds for FREE »

Has anyone used the </> HTML option in the insert image dialogue?

I thought it was for embedded html code. But can't seem to get that to work.

[image deleted]
This page is a permanent link to the reply below and its nested replies. See all post replies »
Mordi · 31-35, M Best Comment
[image=https://images.similarworlds.com/Similar-Worlds-Header-Logo.svg]
Mordi · 31-35, M
I used the SW questions page HTML and it picked out the logo image, which is probably the first appearing image. Funnily enough, svg images probably don't work. 🤷🏻‍♂️
DeWayfarer · 61-69, M
@Mordi that would be the normal url/link option and that can only except .jpg .png and recently .gif file types.
Mordi · 31-35, M
The way the HTML option works is that you give it some raw HTML and it finds the first instance of an image tag and copies it into the standard SW image format.
DeWayfarer · 61-69, M
@Mordi any html I type is just not excepted. Not even an image tag
Mordi · 31-35, M
I copy pasted the entire HTML of the questions page, starting with <!DOCTYPE html> and ending in <\html>. It just selected the first image from it, which was my first response to this question.
DeWayfarer · 61-69, M
@Mordi but it didn't show the image! 🤷‍♂️
Mordi · 31-35, M
Because the image was of type svg. So I assumed that svg images can't be displayed but they didn't take that into account when coming up with the html parsing feature, which no one ever uses. 🤔
DeWayfarer · 61-69, M
@Mordi Yep! 🤷‍♂️