this post was submitted on 30 Jun 2023
14 points (100.0% liked)

Memmy - An iOS client for Lemmy

2536 readers
1 users here now

Download on the App Store

View on GitHub

Join the Discord

Code of Conduct

founded 2 years ago
MODERATORS
 

This is mostly a question for the developers here.

What makes some links show an image vs others that don’t?

When I navigate to ones that don’t, the web pages have images.

you are viewing a single comment's thread
view the rest of the comments
[–] joneskind 2 points 2 years ago

Hello! Web developer here.

I asked myself the same question.

Usually, when you share a link on social networks, the app/website read some metadata in the head of the page to build a card that shows title, description and image. It’s not mandatory for website to work so not everyone does the work even though it can be easily automated.

Now there are different way to add data and maybe Lemmy don’t look for every possibility here.

One quick verification you can do is trying to share the link from a browser to a social network and see if it produces a card with an image or not.