FeatureFuel
70

Direct Asset URL to Storage (S3, Azure, Cloudinary, etc)

Source: directus/directus#7612 · opened by @timstapl
It would be nice to have a public url setting for images and other assets. This would be most useful when wanting to access files directly on storage (eg directly from S3, Azure, etc.) Or when using something like Cloudinary. eg, say you are using an azure blob storage account, when you hit the api you can get the filename_disk for an image field, check that 'storage' is azure (or whatever you named it) and then your consumer can build out an image url that points directly to azure if that's what you desire. (Nuxt in my case). Inside of rich text fields you don't really have the same option, you just automatically get a /assets url for the image (optionally with a token added.) If your Directus instance is not publicly accessible this can be problematic. Currently we are either having to programmatically update rich text fields as we pull them, or use the url embed method. I'd like to see an option to prefix with a public url/host, most likely …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests