signalapp / signalapp/Signal-Android

Social media preview image og:image

Open
#14,780 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
Dominant language
Kotlin
Stars
29.4k
Forks
6.9k
PR merge metrics
No merged PRs in 30d

Description

Guidelines
  • I have searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic
Bug description

Pasting a link from tradera.com, e.g. https://www.tradera.com/item/342580/730777034/leica-39-mm-uv-filter does not include the social media preview image with the link. It works for other webpages.

This link tester shows the image: https://socialsharepreview.com/?url=https%3A%2F%2Fwww.tradera.com%2Fitem%2F342580%2F730777034%2Fleica-39-mm-uv-filter

If I set up my own HTML page with og:image, the image is shown in signal and on the test page: https://www.lysator.liu.se/~axl/tmp/og_image.html

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Tradera – Social Media Preview</title>

  <!-- Open Graph -->
  <meta property="og:url"         content="https://www.tradera.com/item/342580/730777034/leica-39-mm-uv-filter" />
  <meta property="og:title"       content="Leica 39 mm UV-filter" />
  <meta property="og:image"       content="https://img.tradera.net/large-3-2/001/644817001_d47ffecc-a295-4905-84bb-ba8735b29b25.jpg" />

</head>
<body>
  <h1>Tradera</h1>
</body>
</html>

I can see this issue both when sending from Android and Signal desktop on Linux (I have the snap though).

Screenshots

Android:
Image

Desktop:
Image

Device

No response

Android version

No response

Signal version

8.9.1

Link to debug log

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the missing preview image in Signal Android using the Tradera URL from the report, comparing it with the supplied HTML page and socialsharepreview.com result. Trace the Android link-preview handling from that reproduction; done means the og:image appears for the reported URL on Android and the existing desktop behavior remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.