Digital Asset Management plugin workflow - feedback requested! #9991
-
I originally posted this in the Craft CMS Discord, but didn't get any replies so posting this here. Hello everyone! I hope this is the right place to post this, but I am in the design stage of creating a Craft plugin that integrates with a Digital Asset Manager. The plan is to create it as vendor-agnostic as possible so we have that portability, and to open-source it/release it on the plugin store. There are actually three distinct flows represented in this diagram:
Not pictured is the OAuth/authentication flow. I'm also hoping to not duplicate assets storage as most DAM vendors offer their own third-party storage as part of a package deal. So I'd like to create Craft DB entries for the DAM assets, but retrieve the thumbnails/URIs/metadata on the fly. I'm posting this here for feedback, in particular: Is my understanding of the Craft DB entries needed accurate? Are there any gotchas/showstoppers/blockers that will impede this workflow? This will be for multiple separate Craft instances (not multisite per se) integrating with a single DAM. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
If you want to use the DAM for storage, it will also need to be used to store image transforms. Craft doesn’t currently have a way of pulling source images from one place, and storing generated transform images somewhere else. So you will either need to create a custom volume type that implements |
Beta Was this translation helpful? Give feedback.
-
I would love to see this come to life. We intended to integrate our DAM into Craft years ago, but it never materialized. We use OpenAsset to manage our images, so if you create a plugin that supports this you'll have a paying customer on day one! |
Beta Was this translation helpful? Give feedback.
-
@ericdrosas87 did you end up building and open sourcing this? |
Beta Was this translation helpful? Give feedback.
If you want to use the DAM for storage, it will also need to be used to store image transforms. Craft doesn’t currently have a way of pulling source images from one place, and storing generated transform images somewhere else.
So you will either need to create a custom volume type that implements
craft\base\VolumeInterface
entirely (including the ability for Craft to write new files to the DAM), or scrap this plan and only pull new images from the…