Bounties /Pin to ProfileBookmark

What is the purpose of `link rel=”image_src”` in an HTML document?

I have seen this when viewing source on some sites and it’s not clear to me why I need to include it.

to post a answer
December 13th, 2022HTML

6 Answer(s)

possible answer
@SibertDec 13, 2022 —
@themolitorHeyyy 🤣
@hqThanks for the post @Sibert, but to claim the bounty, please post a full response here to receive the SATS reward. 👍
possible answer
@StarryDec 23, 2022 — The rel means the type of link, the kind of the thing between the document and the resource that's used. Thats most of the time just a few words like stylesheet is used. Although many other words have been proposed and used.
pending review
@Hot_HeadGamingDec 23, 2022 — The link rel="image_src" tag lets you control what image (or images, you can have more than one by stacking separate references) is displayed alongside your link.
pending review
Dec 24, 2022 — The link element with a rel attribute set to "image_src" specifies the URL of an image that represents the content of the page. This is used to provide a thumbnail image for the page when it is shared on social media or added to a bookmarking service.

For example, the following link element would specify an image located at "" as the thumbnail image for the page:

It's important to note that this link element should be placed in the head of the HTML document, and not in the body.
For some reason the example isn't shown. Here:
link rel="image_src" href=""
possible answer
@codiJan 04, 2023 — link rel="image_src" is an HTML tag that specifies the location of an image that should be used when a webpage is shared on social media or other platforms. It is used to specify the image that will be displayed when the webpage is shared on platforms such as Facebook or Twitter.

For example:

This tag is included in the head section of the HTML document and allows web developers to specify the image that will be used as a thumbnail when the webpage is shared. This can be useful for increasing the visibility of a webpage on social media platforms, as a well-chosen image can attract more attention and increase the chances that the webpage will be shared.
pending review
@1Jan 20, 2023 — The rel attribute defines the relationship between a linked resource and the current document.


Help @hq spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with Github
about: ({
version: 0.1.7 BETA 2.4,
whats_new: article editor v2,
up_next: tip code demos,
coming_soon: embeddable tipping,
social: @webDeveloperHQ

legal: ({
terms: of use,
privacy: policy
changelog: (
version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh

version: 0.1.5,
notes: added pins + new badge

version: 0.1.4,
notes: home refresh + tools
recent_tips: (
tipper: @JohnDavis,
amount: 250 SATS,
source: article

tipper: @Megan0910,
amount: 1000 SATS,
source: article

tipper: @JohnDavis,
amount: 250 SATS,
source: article