this post was submitted on 20 Aug 2023
9 points (100.0% liked)

Photon

2 readers
8 users here now

The community for the Photon Lemmy client.

https://photon.xylight.dev

founded 1 year ago
MODERATORS
 

UPDATE: Lemmy v0.19.0 fixes this issue.

A lot of people are having issues with image uploads.

TL;DR, this is an unfixable Photon issue caused by a Lemmy issue

Right now Photon does authenticated requests by sending an authentication header with the jwt of your account. This works for most stuff, except image uploads. Image uploads require a cookie, which can't really be done client side.

As a workaround, Photon will proxy your image upload to the photon server. (nothing is tracked, you can see at hooks.server.ts) However, this means all requests come from the same IP- which can cause rate limits

It is caused by This GitHub issue

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago

Ah, I had thought that this was an issue (even linked the upstream issue a couple of weeks ago). Hopefully it will get resolved soon by Lemmy.