MyBB Community Forums

Full Version: What recources does uploading images use?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey gang, there is a plugin called profilepictures in extend. And the plugin lets users upload images and the plugin sets the default image at 40 kb max per upload. Admins can change this

What is 40 KB? What if it was set to 200KB? what recourses does KB use up?
(2020-01-14, 07:44 PM)Michael2014 Wrote: [ -> ]What is 40 KB? What if it was set to 200KB? what recourses does KB use up?
40 KB = 40 kilobytes = 0.04 Megabytes Smile

It uses up your webhosting space.
So it makes sense to prevent users from uploading files in giant sizes!
40k is a moderate value for a custom profile picture. I personally would not accept the size to be higher than 100-200k at all! That's enough for a personalized image.

It's just a matter of caluclation: uploaded images in relation to your webspace.
For example: 1.000 users uploading a profile image with about 100k, will take 100MB disk space - and additional network traffic.

With the plugin options you can restrict the file size (in kilobytes) as well as the image dimension (in pixels). Use these options appropriate and wise.

[ExiTuS]
(2020-01-14, 08:29 PM)[ExiTuS] Wrote: [ -> ]
(2020-01-14, 07:44 PM)Michael2014 Wrote: [ -> ]What is 40 KB? What if it was set to 200KB? what recourses does KB use up?
40 KB = 40 kilobytes = 0.04 Megabytes Smile

It uses up your webhosting space.
So it makes sense to prevent users from uploading files in giant sizes!
40k is a moderate value for a custom profile picture. I personally would not accept the size to be higher than 100-200k at all! That's enough for a personalized image.

It's just a matter of caluclation: uploaded images in relation to your webspace.
For example: 1.000 users uploading a profile image with about 100k, will take 100MB disk spaceĀ  - and additional network traffic.

With the plugin options you can restrict the file size (in kilobytes) as well as the image dimension (in pixels). Use these options appropriate and wise.

[ExiTuS]

that was a great answer, thx for the insight!