Question

Create bucket for store image (Similar s3 but into digital ocean)

Hi,

I have a serious problem, currently storing disk images in my vps (avatars), but the browser blocks these local connections. Then I send them to the pages through express js, this is complicated, when I wish to functionality that is visible in the avatar, if I have the gravatar … everything is easy, but for images stored locally … is the problem.

Any help…

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

We have recently launched Spaces, an Object Storage product with simple pricing. See: https://www.digitalocean.com/products/spaces/ You can use Spaces to store and serve images.

UPDATE Feb 1, 2020: I would recommend making use of the built-in CDN to serve images and other assets for better performance: https://www.digitalocean.com/docs/spaces/how-to/enable-cdn/