#988 Change syntax for preview image

Open
opened 3 months ago by max.mehl · 2 comments

I am unhappy with the way we include custom preview images for sharing links, see here. It is a custom meta element which is not standardised.

Right now it’s done like this: <meta name="image" content="https://fsfe.org/graphics/tshirt-promo-800px.jpg" />

But I would propose to have it like the discussion link, e.g.: <image src="https://fsfe.org/graphics/tshirt-promo-800px.jpg" />

It shouldn’t be too hard to switch this. We can take the checks from the discussion tag, and change the behaviour of the current meta element. Subsequentially, we should update all existing occurences.

I am unhappy with the way we include custom preview images for sharing links, see [here](https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Preview_Image). It is a custom meta element which is not standardised. Right now it's done like this: `<meta name="image" content="https://fsfe.org/graphics/tshirt-promo-800px.jpg" />` But I would propose to have it like the discussion link, e.g.: `<image src="https://fsfe.org/graphics/tshirt-promo-800px.jpg" />` It shouldn't be too hard to switch this. We can take the checks from the discussion tag, and change the behaviour of the current meta element. Subsequentially, we should update all existing occurences.
max.mehl added the
xsl
label 3 months ago
max.mehl added the
easy
label 3 months ago
mweimann commented 1 week ago
Collaborator

@max.mehl I would also have a look at this one. Another motivation for you to give me a XSL build madness introduction :smiley:

@max.mehl I would also have a look at this one. Another motivation for you to give me a XSL build madness introduction :smiley:
max.mehl commented 1 week ago
Owner

Great, that’s a good starting point indeed. Let’s arrange a meeting soon :)

Great, that's a good starting point indeed. Let's arrange a meeting soon :)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.