<p>There's a <a href="https://plugins.craftcms.com/dospaces" rel="nofollow noreferrer">plugin that adds Digital Ocean Spaces</a> as a <a href="https://craftcms.com/docs/5.x/extend/filesystem-types.html" rel="nofollow noreferrer">Filesystem Type</a>. After installation, you can create a new <a href="https://craftcms.com/docs/5.x/reference/element-types/assets.html" rel="nofollow noreferrer">filesystem</a> using the newly added filesystem type, and an asset volume that uses this filesystem. After that, you can upload and manage assets that live on the Digital Ocean Space through Craft's normal asset interface. Then you can also <a href="https://craftcms.com/docs/5.x/reference/element-types/assets.html#querying-assets" rel="nofollow noreferrer">query assets</a> on your Digital Ocean Space like you would a volume using the local filesystem.</p>

CC BY-SA 4.0
2024-07-13T14:02:19.737Z
I'm realizing that my issue is actually stemming from the fact that my issue was due to multiple errors. My images were being added into dynamic subfolders i.e. {slug} and I didn't have a public URL. Fixed those thanks to those links you've provided. Thank you!
mattalie
CC BY-SA 4.0
2024-07-13T12:34:17.257Z
2024-07-13T12:34:17.257Z
MoritzLost
<p>Is there a way to recursively call images from a digital ocean spaces bucket folder into a twig template (similar to how locally stored images work)? Or would I have to build a module to do that?</p>

<templating><digitalocean>
Displaying Images from DO Spaces to Template
# Displaying Images from DO Spaces to Template

(Asked by: username_0 on 2024-07-13)

Is there a way to recursively call images from a digital ocean spaces bucket folder into a twig template (similar to how locally stored images work)? Or would I have to build a module to do that?

**Tags:** templating, digitalocean


---

## 1 answers

### Answer by username_1 on 2024-07-13. Score: 1 | Accepted answer

There's a [plugin that adds Digital Ocean Spaces](https://plugins.craftcms.com/dospaces) as a [Filesystem Type](https://craftcms.com/docs/5.x/extend/filesystem-types.html). After installation, you can create a new [filesystem](https://craftcms.com/docs/5.x/reference/element-types/assets.html) using the newly added filesystem type, and an asset volume that uses this filesystem. After that, you can upload and manage assets that live on the Digital Ocean Space through Craft's normal asset interface. Then you can also [query assets](https://craftcms.com/docs/5.x/reference/element-types/assets.html#querying-assets) on your Digital Ocean Space like you would a volume using the local filesystem.

> **Comments:**
> **username_0**: I'm realizing that my issue is actually stemming from the fact that my issue was due to multiple errors. My images were being added into dynamic subfolders i.e. {slug} and I didn't have a public URL. Fixed those thanks to those links you've provided. Thank you!  

---

