Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shadrix's avatar
Level 12

Where would you save tons of images that are about 40kb small? File, Block or Object Storage?

Currently, I'm using DigitalOcean Spaces. However, I'm having rate-limit-issues with them.

Besides that, the official docs are not recommending to use DigitalOcean Spaces, when the file size is smaller than 1MB (side question: why so?).

To simplify my page. Users can upload images and see images from other users as well. Each image is only about 40kb small.

So my question is: Where would you storage images that are about 40kb small? Still object storage? S3 has way more rate limit but is expensive. Or do you have something else in mind?

0 likes
2 replies
jlrdw's avatar

What is a DigitalOcean Spaces? Just store somewhere on the file system and serve them as needed.

Seems that you should have a certain amount of "space" no matter what hosting company. Are you saying you are running out of space?

You may need to look at Google Drive, Dropbox or similar if that's the case.

And I usually don't worry about where images are stored, I generally use a script only if needed. https://gist.github.com/jimgwhit/90faa6dfbbde72a9901562a5fe4f431e

Please or to participate in this conversation.