To elaborate, if I upload an image with file name, “picture.png”, to the Builder, I want the asset url to be “Give yourself a better website » MY DOMAIN”. Is this something achievable?
Why this is critical for us? We sometime would upload a version of PR material with different version with the same URL. So, that would eliminate different version of same file in the wild.
Additionally,
if it’s not possible, is there a way to substitute the file uploading system with our own, like S3 bucket, and integrate into Builder workflow?
Replacing the URL entirely with a custom domain or name, isn’t directly specified within the Builder.io functionality. However, you can manage image uploads programmatically using the Upload API to ensure consistent naming conventions for versions of files.
If the goal is to manage different versions under the same URL to avoid multiple versions being exposed, you can use your own CDN in front of the existing CDN. This setup allows for customized URLs that reflect your brand instead of the default CDN, but it may require additional setup to ensure all requests are properly routed to your custom CDN.
As for integrating with your own image storage like an S3 bucket, Builder.io doesn’t inherently support replacing the file uploading mechanism with custom storage directly within its workflow. One workaround would involve implementing a custom file upload handler using your own scripts and uploading to Builder.io via the API from S3 or another service.