Image uploads are enabled 4 weeks after account creation
I contacted your admin (@sunaurus@lemm.ee) 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 :)
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.)
If you try to open it directly, you’ll see an error, when you should be seeing an image.
I see a couple issues with it.
Firstly, URL contains an image proxy. Now, I’m not sure how exactly Lemmy works and if those are necessary, but my comments don’t have those (on most clients you can use an option to see the raw comment text).
Secondly, that imgflip URL leads to a page and not to a direct image, which causes issues. If you link the direct image URL like so:
Regarding the podcast you linked, I’m in no way associated with it, if that’s what you thought. I’m just using an account on StarTrek.website Lemmy instance because I’m a fuckin’ nerd. 🖖
Yeah, I have had issues with Voyager letting me upload pics as well, though the message I get is something along the lines of “this application doesn’t allow picture modification here.”
I still have Sync installed so I can upload images.
deleted by creator
Are you just going around, commenting “not a meme”?
Also, people didn’t believe me, but I knew that CPR worked.
deleted by creator
If anyone can tell me why I can’t post images anywhere on lemmy, I’d appreciate it.
Do you mean you want to insert an inline image? To do that you need to use markdown embed, like so:
Exclamation point makes the image appear inline, instead of as a link.
That didn’t work with the above edit.
Problem is any image I paste or upload gives me; “Problem uploading image. Please try again.”
From lemm.ee sidebar,
I contacted your admin (@sunaurus@lemm.ee) 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 :)
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.
TY
Hey, I saw this ping, but I didn’t actually get any message from you about CORS headers. Where did you contact me?
Hey! Through DM, about a week ago. I’ll copy below (it’s nothing sensitive):
Just curious, how do you compress images? Is there a web API?
The only problem with your image above is that the link to is broken. If you insert an existing URL from web, it will work.
Not sure why your uploads don’t work though.
Its an existing URL. I added the exclamation as described.
Thanks anyways. Big Fan :)
Here’s the URL in your comment:
If you try to open it directly, you’ll see an error, when you should be seeing an image.
I see a couple issues with it.
Firstly, URL contains an image proxy. Now, I’m not sure how exactly Lemmy works and if those are necessary, but my comments don’t have those (on most clients you can use an option to see the raw comment text).
Secondly, that imgflip URL leads to a page and not to a direct image, which causes issues. If you link the direct image URL like so:
The result is:
Regarding the podcast you linked, I’m in no way associated with it, if that’s what you thought. I’m just using an account on StarTrek.website Lemmy instance because I’m a fuckin’ nerd. 🖖
Bro. IDK WTF and the existing link was my attempt at the suggestion, not my original link which was like…
This
I add an exclamation and…
Web or app?
Voyager.
Yeah, I have had issues with Voyager letting me upload pics as well, though the message I get is something along the lines of “this application doesn’t allow picture modification here.”
I still have Sync installed so I can upload images.
The issue is lemm.ee disables image uploads until accounts are four weeks old.