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

Some posts have blurry image #475

Open
Kehet opened this issue Nov 25, 2024 · 3 comments
Open

Some posts have blurry image #475

Kehet opened this issue Nov 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Kehet
Copy link

Kehet commented Nov 25, 2024

Describe the bug

Some posts have a very blurry image when enlarged, despite the default UI having a crisp image.

I think this is because Photon uses an image hosted on my home instance instead of the original instance. However, I'm not familiar enough with innards of Lemmy to know if this is because my home instance is somehow misconfigured, or if this is a problem with Photon. Posting here first because the default UI doesn't seem to have this problem.

To Reproduce (if applicable)

My home instance is sopuli.xyz, and I'm logged in as a user from that instance.

For example, my feed has this link
https://phtn.app/post/sopuli.xyz/19496823
which uses low-quality image from my home instance
https://sopuli.xyz/pictrs/image/46f77cdf-9771-4266-9b15-0bde2e6bc80e.webp?format=webp
(this is 105x512 webp image)

Same post using another instance
https://phtn.app/post/lemm.ee/48189073
uses original image url
https://slrpnk.net/pictrs/image/4d0b5897-eed3-45ca-a50b-27f623c9b60e.jpeg?format=webp
(this is 419x2048 webp image)

Same post on my home instance using default UI
https://sopuli.xyz/post/19496823
uses original image url from another instance
https://slrpnk.net/pictrs/image/4d0b5897-eed3-45ca-a50b-27f623c9b60e.jpeg
(also 419x2048 jpeg image)

Expected behavior
When I click to enlarge an image on post, I expect it to match the original size and quality

Screenshots
See links

Versions

  • Browser: Firefox 132.0.2
  • Photon version: 1.31.5
@Kehet Kehet added the bug Something isn't working label Nov 25, 2024
@aeharding
Copy link

Probably due to LemmyNet/lemmy-ui#2796

@Kehet
Copy link
Author

Kehet commented Nov 26, 2024

Probably due to LemmyNet/lemmy-ui#2796

Does this require my home instance to regenerate this image, or is this something Photon should fix?

@aeharding
Copy link

It’s something for photon to fix. Gotta use url and never thumbnail_url. Thumbnail_url is now tiny.

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