Getting a lot of blank pictures on Lemmy-UI (SOLVEDish-look at newest comment)

I’m seeing a lot of blank images when looking at posts from startrek.website through Lemmy-UI, but when I look through Photon/Sync the images are there. It seems to only affect images uploaded directly to startrek.website instead of images uploaded to a separate website. Is there something I can do to fix this on my instance?

EDIT: copy-pasting my comment to another question here so you know the “solution”

I solved the cause of the issue (I think), it being caused by my browser caching the images/pict-rs urls weirdly (whenever i would clear the cache or open an incognito/private it would work fine), but I wasn’t able to really fix it on the default UI. Not saying it isn’t impossible to fix, just that I’m not smart enough to do it lol (though I have told the sysadmin). If it isn’t working on Liftoff too though that’s strange, since Liftoff seems to work fine for me. The best “solution” for me on desktop seems to be to just using an alternative UI like Photon, since it pulls the image in a different way which makes it load correctly (that and the fact that Photon is just great all around and the dev is cool). For mobile, I would think Liftoff would be working since it seems to work for me, but I don’t mainly use Liftoff (Photon FTW), maybe try using a different app and see if you have the same problem?

BTW this is what I see right now on the default UI:

https://loot.buckodr.ink/xGSwTS.jpg

And on Photon:

https://loot.buckodr.ink/irWYYk.jpg

I think I answered everything (?), if I didn’t ask and I’ll try to answer

The_Picard_Maneuver,
@The_Picard_Maneuver@startrek.website avatar

I’m getting this too, as well as some image posts occasionally not federating, and lots of error messages about “voting failed”, “failed to mark as read”, etc.

I know there were some expected temporary performance issues after switching hosts, but would that still be happening a week or so later?

xusontha,

Some of the image stuff for me is just my device caching urls that change, but I don’t know why so many urls are changing

I’m not getting the failed to vote thing, but maybe that’s because you are using startrek.website as your instance instead of another; probably just timing out because whenever I pull up the site it is always a bit slow to load

The_Picard_Maneuver,
@The_Picard_Maneuver@startrek.website avatar

I post a lot, and multiple people on other instances have messaged me this week complaining that our images show up intermittently for them too.

I don’t know enough about the technical side of lemmy to even hazard a guess though.

xusontha,

Yeah, all I can tell is that the url of the file on the server seems to be changing and devices are caching the old url. Using a different image hosting service like imgflip/catbox.moe/selfhosted image server for the image uploads would probably solve that problem, but that’s pretty much the extent of my knowledge

Stamets,
@Stamets@startrek.website avatar

stamets

stamets

stamets

I have a problem

xusontha,

Nah, posting Star Trek memes is like therapy or meditation, it centers you. A problem would be spending four and a half hours troubleshooting gif/webp compatibility for Lemmy-UI while having things to do and in the end getting neither done.

Stamets,
@Stamets@startrek.website avatar

Well I wish you luck on finding the solution, my friend.

xusontha,

I think I have a solution for the future, but who knows lol. I’m just gonna roll with it

but thank you, my friend

ptz,
@ptz@dubvee.org avatar

If you’re using Ublock Origin, disable that for your home lemmy instance.

I have a custom rule you can add to prevent that from happening (in lieu of disabling UBO), but it’s on my other computer. I can update post with that later.

xusontha,

I have all tracker blockers/adblockers/etc disabled on my personal domains, so I don’t think it’s that.

Looking at it closer, if I pull up a post on my instance and open the image in a new tab, it gives this link: https://startrek.website/pictrs/image/2f9f0c5e-c579-465b-a0cc-734ce953a3a5.jpeg

But when I go to startrek.website and pull up the same post, the image URL is different, it’s https://startrek.website/pictrs/image/7a02c5c7-9a8f-424f-9b56-f37664e6a8b8.jpeg

Even more curious is when I view the post on lemm.ee, since if I open the image in a new tab by clicking on the image, it pulls up the actual image but when clicking on the link to the image under the title it goes to the same wrong URL that my instance has

  • All
  • Subscribed
  • Moderated
  • Favorites
  • quarks@startrek.website
  • random
  • meta
  • Macbeth
  • All magazines