this post was submitted on 11 Sep 2023
24 points (100.0% liked)

Quark's

1092 readers
2 users here now

Come to Quark’s, Quark’s is Fun!

General off-topic chat for the crew of startrek.website. Trek-adjacent discussions, other sci-fi television, navigating the Fediverse, server meta (within reason), selling expired cases of Yamok sauce, it’s all fair game.


founded 1 year ago
MODERATORS
 

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:

And on Photon:

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

all 10 comments
sorted by: hot top controversial new old
[–] The_Picard_Maneuver@startrek.website 3 points 1 year ago (1 children)

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@ls.buckodr.ink 2 points 1 year ago (1 children)

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@startrek.website 3 points 1 year ago (1 children)

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@ls.buckodr.ink 2 points 1 year ago

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

[–] ptz@dubvee.org 3 points 1 year ago* (last edited 1 year ago) (1 children)

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@ls.buckodr.ink 1 points 1 year ago

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