-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
Fix for PictrsImageMode::None #4604
Conversation
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
Even with this patch applied, the behaviour is still not consistent with older Lemmy versions. In the past, for federated posts the thumbnail URL was set to the originating server when But now, for federated posts the thumbnail links directly to the image on the external website (which can be much larger than 256x256). So returning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Youre right I must have missed this during the rewrite.
So returning image_url works fine for locally created posts, but for federated posts it should return the link to the image on the other instance (if we want to keep the behaviour the same as it was previously).
I believe this is fixed by #4593, can you test it?
By looking at the code, this should be fixed by #4593 as it adds an check of But since that pull modifies a lot of files, it will be very complicated to test unless a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch.
@kroese I'll try to get another beta release out within a few days, after we merge my thumbnail fixes in the PR linked above.
This problem with the wrong image url's is still present in I think the problem is that |
Currently the option PictrsImageMode::None is not working since it is totally ignored. This pull fixes that.