Preview Image When Sharing Links

I hate to admit this, but there’s a basic function of the site I’m confused about. When someone shares a link to a news story, most of them have a preview image with an excerpt. How do you get it to include that? Is there some HTML or JavaScript involved?

I don’t know the mechanics of it, but some links I paste come out with a preview, and some others as ordinary links. I don’t do anything special for it, so I guess it depends on the type of link.

I’d be curious to know, too.

1 Like

I think it is format related, perhaps based on whether the link is thought to be inline (no preview) or separate from previous/following text typed by OP (then give preview). Try paste link first, allow it to resolve into preview then add text before and/or after seems to work well for me.

also, sometimes the preview doesn’t happen, as I expect it to, as with an invious link (video) but I think that is locked down to avoid embedded video (and goog/utube tracking)?

theory test 1, paste link then hit enter/return:

test 2, paste link then type same line:
https://www.ftc.gov/tips-advice/business-center/privacy-and-security/gramm-leach-bliley-act and see no preview.

yah, not sure exactly what determines preview, I expected more from article body, eg:

Gramm-Leach-Bliley Act

The Gramm-Leach-Bliley Act requires financial institutions – companies that offer consumers financial products or services like loans, financial or investment advice, or insurance – to explain their information-sharing practices to their customers and to safeguard sensitive data.

to show up. it may be remote site related as well, to give preview with some standard general site info?

i think the answer we seek will be learned when the three of us earn this badge:
https://forum.privacytools.io/badges/100/certified

which isn’t giving preview, trashes that theory :sweat_smile:
(not sure how i missed that opportunity for that badge, which is prereq for another advanced level, iiuc :crying_cat_face: maybe didn’t scroll all the way to bottom of an intro to forums clicker when make new account?

edit to add, seems a mixture of both website linked and standard (admin config?) for discourse forums:

Links automatically expand

Want to share a cool link you found? Just paste it in on a single line and we’ll make it awesome. Links to Wikipedia, YouTube, Amazon, GitHub, Twitter, Flickr, and hundreds of other popular websites automatically expand to provide additional context and information.

edit to add: scraped discourse forums and see what the three of us skipped, look for a private message from discobot titled Greetings! and follow tutorial from there, quickly it shows:

discobot
Cool! This will work for most links. Remember, it must be on a line all by itself , with nothing else in front, or behind.

https://www.ftc.gov/news-events/press-releases/2019/07/equifax-pay-575-million-part-settlement-ftc-cfpb-states-related?utm_source=slider