Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Missing URL thumbnail #4468

Closed
4 tasks done
aeharding opened this issue Feb 23, 2024 · 1 comment
Closed
4 tasks done

[Bug]: Missing URL thumbnail #4468

aeharding opened this issue Feb 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aeharding
Copy link

Requirements

  • Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a single bug? Do not put multiple bugs in one issue.
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.

Summary

The following link has a missing thumbnail:

https://thebetter.news/amazon-deforestation-reduced/

Steps to Reproduce

  1. Create a new post with URL = https://thebetter.news/amazon-deforestation-reduced/
  2. Observe missing thumbnail

Expected behavior: Lemmy should extract the jpg from the following document meta tag:

<meta property="og:image" content="https://thebetter.news/wp-content/uploads/2024/01/lula-amazonas.jpg" />

resulting in https://thebetter.news/wp-content/uploads/2024/01/lula-amazonas.jpg.

Technical Details

Observe missing thumbnails:

Version

0.19.3

Lemmy Instance URL

lemm.ee, lemmy.world

@aeharding aeharding added the bug Something isn't working label Feb 23, 2024
@dessalines
Copy link
Member

Figured it out. Was a really weird issue where that site uses a non-standard doctype line with a space where it shouldn't be:

https://github.com/LemmyNet/lemmy/pull/4472/files#diff-0cd13a4a101c05a54d9ab789fa06c9d48ab61c0e1f5c9b9a178440e9ba3a5ef5R101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants