DEV Community

Discussion on: Saving images in a database or in the project's folder?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

If for online stuff like a blog, I would say, in an online storage service.

Cloudinary free tier is quite generous, and it offers image resize on the go. Might be easier than AWS or Google Cloud as well.

I also recommend lazy loading, like lazysizes. Gatsby also has plugins for similar services.

If you mean learning from examples and minimize external services, WordPress stores images in a project folder.

Collapse
 
alex002i profile image
Alex • Edited

I will try to make a bigger project, the website won't contain only the blog, it will have some problems to solve and test with a compiler and some quizzes. I will take a look on Cloudinary since I don't need to store more then 50-100 images.