CaramelFur / Picsur

An easy to use, selfhostable image sharing service like Imgur with built in converting
https://picsur.org/
GNU Affero General Public License v3.0
774 stars 41 forks source link

hosted image works in some places, not in others #64

Closed mptpro closed 8 months ago

mptpro commented 10 months ago

I have a vey strange problem.... my hosted images render in some place but not in others. PS, I even tried the Picsur demo with the same behaviour.

Images display properly:

Images do not display properly:

It's very strange and I can't figure it out.

chennin commented 10 months ago

If you open up your browser's dev tools and (re)load a page where the pic does not work, there will probably be an error on the network or console tabs that would say why. Or if you're willing to share a URL here, anyone here could do that to.

mptpro commented 10 months ago

@chennin the problem is that it works dirctly in the browser, but no the web site (see my list above). However, after reading isse #52 it seems this is the problem I'm experincing. I downgraded to the lower version of Picur this morning and now it works, though Picsur tells me the database is for differenct version.

chennin commented 10 months ago

Ok - but without more information it's impossible to answer the question for sure.

shinji257 commented 9 months ago

We can probably use the cat picture on caramelfur.dev. It gets blocked on Brave and it appears the header has strict-origin-when-cross-origin set but it doesn't actually set a policy. Yes. To Brave caramelfur.dev and i.caramelfur.dev are different domains.

image image

CaramelFur commented 8 months ago

Should be fixed in next version