• @[email protected]
    link
    fedilink
    English
    21 month ago

    From lemm.ee sidebar,

    Image uploads are enabled 4 weeks after account creation

    I contacted your admin (@[email protected]) about an issue where the response to the image upload doesn’t have the proper CORS headers, which prevents Voyager from reading the response. Hopefully that gets resolved at some point so we can get more helpful error messages :)

    • @[email protected]
      link
      fedilink
      English
      21 month ago

      If I get the right link and apply the formula, looks like I can at least post online images, if not from my phone.

      Thanks again.

    • @[email protected]
      link
      fedilink
      English
      11 month ago

      Hey, I saw this ping, but I didn’t actually get any message from you about CORS headers. Where did you contact me?

      • @[email protected]
        link
        fedilink
        English
        21 month ago

        Hey! Through DM, about a week ago. I’ll copy below (it’s nothing sensitive):

        Everything seems pretty great, with the only friction I’m working through is regarding user uploads.

        It looks like when using 3rd party clients (like Photon or Voyager’s PWA) and I try to upload an image that is too large to lemm.ee, lemm.ee is not properly setting the CORS header. This means that Photon/Voyager can’t see that lemm.ee is rejecting the upload due to image size. It seems to be working on lemmy.world.

        (Please note that Voyager automatically compresses images to fit within 1MB, so it may be best to test with Photon - the same problem can be observed and replicated there.)

        lemmy.world:

        lemm.ee:

        If you have time to take a look, I’d appreciate it! No rush at all.