vestmoria@linux.community to Technology@lemmy.worldEnglish · 4 months agowhat lemmy web app do you use and why?message-squaremessage-square79fedilinkarrow-up197arrow-down17
arrow-up190arrow-down1message-squarewhat lemmy web app do you use and why?vestmoria@linux.community to Technology@lemmy.worldEnglish · 4 months agomessage-square79fedilink
minus-squaree0qdk@reddthat.comlinkfedilinkEnglisharrow-up1·edit-23 months agoI ran into an example of the thumbnail issue again today – this time on a post from kbin: https://old.reddthat.com/post/19193476 The thumbnail looks like this in the HTML: <div class="thumb"> <a class="url" href="https://media.kbin.social/media/60/a4/60a45b8ff88b1b2e3a0f77b701feb323c5bbfb7ceeb75154ea7df5d6eea15ef8.jpg" > <div style="background-image: url(https://media.kbin.social/media/60/a4/60a45b8ff88b1b2e3a0f77b701feb323c5bbfb7ceeb75154ea7df5d6eea15ef8.jpg?format=jpg&thumbnail=96)"></div> </a> </div> Note that it’s making a request to kbin.social with ?format=jpg&thumbnail=96 parameters in the CSS – which results in the full image being loaded since kbin doesn’t run pictrs. The versions in use on reddthat (according to the settings page) are: lemmy: 0.19.4-beta.7 mlmym: 0.0.44
minus-squarennrx@lemmy.worldlinkfedilinkEnglisharrow-up2·3 months agoThis kinda looks like an issue between lemmy and kbin. The issue is present on the lemmy ui as well. The ?format=jpg&thumbnail=96 parameter being there doesn’t have an effect here. The issue is the thumbnail_url is reported wrong. You can see that here. The thumbnail_url should be: https://kbin.social/media/cache/resolve/entry_thumb/60/a4/60a45b8ff88b1b2e3a0f77b701feb323c5bbfb7ceeb75154ea7df5d6eea15ef8.jpg We could try and use some regex to lookout for kbin images and rewrite the thumbnail_url, but it should probably just be fixed upstream. Found this github issue which might be related: https://github.com/LemmyNet/lemmy/issues/3775
I ran into an example of the thumbnail issue again today – this time on a post from kbin: https://old.reddthat.com/post/19193476
The thumbnail looks like this in the HTML:
Note that it’s making a request to kbin.social with
?format=jpg&thumbnail=96
parameters in the CSS – which results in the full image being loaded since kbin doesn’t run pictrs.The versions in use on reddthat (according to the settings page) are:
lemmy: 0.19.4-beta.7
mlmym: 0.0.44
This kinda looks like an issue between lemmy and kbin. The issue is present on the lemmy ui as well. The
?format=jpg&thumbnail=96
parameter being there doesn’t have an effect here. The issue is the thumbnail_url is reported wrong. You can see that here. The thumbnail_url should be: https://kbin.social/media/cache/resolve/entry_thumb/60/a4/60a45b8ff88b1b2e3a0f77b701feb323c5bbfb7ceeb75154ea7df5d6eea15ef8.jpg We could try and use some regex to lookout for kbin images and rewrite the thumbnail_url, but it should probably just be fixed upstream.Found this github issue which might be related: https://github.com/LemmyNet/lemmy/issues/3775