this post was submitted on 12 Jun 2023
29 points (96.8% liked)

Meta (lemm.ee)

3473 readers
38 users here now

lemm.ee Meta

This is a community for discussion about this particular Lemmy instance.

News and updates about lemm.ee will be posted here, so if that's something that interests you, make sure to subscribe!


Rules:


If you're a Discord user, you can also join our Discord server: https://discord.gg/XM9nZwUn9K

Discord is only a back-up channel, [email protected] will always be the main place for lemm.ee communications.


If you need help with anything, please post in !support instead.

founded 1 year ago
MODERATORS
 

Hello, fellow lemmings!

As I promised in my previous update, lemm.ee has enabled support for image uploads for all images up to 100kb! First and foremost, this means that you should now be able to upload avatars for yourself and your communities.

Why only 100kb?

From discussions with other instance admins, I have learned that one of the scaling issues so far with Lemmy is multimedia storage. Several instances report growing their storage by significant amounts daily - if we grew at that same pace, I would start seeing increased infrastructure bills very quickly (within months, if not weeks).

This is why I am hoping to keep it under control by limiting the upload size and asking users to use external image hosting providers as much as possible for now. I will keep monitoring our storage growth, and if it turns out that it's manageable, then I will gradually start increasing the upload limit.

100kb was specifically chosen as it SHOULD cover most needs for any avatars, and possibly even simple banners for communities. I'm definitely open to feedback - please let me know if there are any specific cases where you desperately need a bigger limit!

How can I post images hosted on external services?

For posts, just submit the image URL directly (in other words, copy the image URL into the "URL" field of the post you are creating).

For text posts and comments, you can use the following syntax: ![alt text](image url), for example ![lemm.ee logo](https://imgur.com/earIilI.png) results in:

lemm.ee logo

Other updates

  • I have noticed some CPU usage spikes in our hardware monitoring, especially during the last 24h, so today I upgraded our servers to be a bit more beefy. My goal is to pre-empt any noticeable slowdowns, so if I do my job right with upgrades, you guys will never even know that there was a problem. If you do ever notice significant slowdowns, please always let me know directly and I can take a look!
  • Several people have kindly signalled their willingness to share the infrastructure costs of this instance. These people would enable us to grow much more without running into budget constraints, so I am planning to investigate what my options are for setting up a system of donations within the coming days. Thanks a lot to everybody who has messaged me about this!
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (1 children)

Yay, an upload limit I can't even attempt to use because of that json error still being there!

[–] [email protected] 2 points 1 year ago (2 children)

If you're getting an error while trying to upload a sub 100kb image, then something is wrong! Let's figure it out, can you share two things with me:

  1. Is there any specific part of the website where the image upload is failing? Your avatar, a post, something else?
  2. Can you share the specific image that is producing an error? You could send it to my e-mail at [email protected]
[–] [email protected] 2 points 1 year ago (2 children)

Same problem trying to upload a 17 kB avatar

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

[–] [email protected] 3 points 1 year ago (2 children)

I think I found an issue and fixed it for now - give it another go and let me know if it worked.

[–] [email protected] 1 points 1 year ago

New to the server and couldn't upload an avatar but whatever you did has sorted that out too, cheers! 👍

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

lol, I was just going to write a comment on this thread and saw this message.

They seem to be working now when they weren't 5 minutes ago. (testing in this post too). Thanks!

[–] [email protected] 1 points 1 year ago

Could you share the image with me? Same e-mail works as I mentioned above

[–] [email protected] -1 points 1 year ago
  1. Everywhere, avatars, posts, even in this comment section.
  2. It's any image, I will email you a screenshot of the error when I get back to my PC

This might just be a problem with Jerboa, Lemmy's mobile app.