How do I use Object Storage for images/videos?

The real question is how I create URL for each photo/images and videos so I can link to them from my WordPress site.

2 Replies

Hey there,

Because each file has its own URL, streaming the content of these files or embedding them in another program or website is simple and does not require the use of a server.

You can make objects accessible on your website by first ensuring that the bucket is publicly accessible, which you can do using the Linode cli or other tools. Objects will be reachable at a url created by appending the name of the object to the end of the bucket url with a forward slash.

For example:

Bucket named sample-bucket url:
sample-bucket.us-east-1.linodeobjects.com

Object named sample-object inside sample-bucket url:
sample-bucket.us-east-1.linodeobjects.com/sample-object

We hope that helps clear things up!

-Tara, Linode Support Team

On the same subject. Is it possible to use Objegt Storage to serve photo versions (small/medium/big)?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct