Andreas Augustin Posted March 3, 2018 Posted March 3, 2018 Hello! is it possible to hook into the image upload and send the uploaded image to a thirdparty asset managment service? After the image is uploaded on the server, I want to send it via an API to an other serrvice where I receive an URL which I want to save in the db to the image entry. Any ideas?
horst Posted March 3, 2018 Posted March 3, 2018 https://processwire.com/talk/topic/13759-tagging-multiple-images/#comment-123851 1
Andreas Augustin Posted March 6, 2018 Author Posted March 6, 2018 Other question. What would the best way to extend an existing Image Field database table with a new column? When I Upload the image in the hook to the thirdparty provider, I will get the URL after the upload is finished and want to save this to a column like "cloudinar_url")
horst Posted March 6, 2018 Posted March 6, 2018 I think the simplest way would be to use Beas module ImageExtra , or you look into it and "borough" some code. Info: https://www.kf-interactive.com/blog/adding-custom-fields-for-images-in-processwire/ 1
adrian Posted March 6, 2018 Posted March 6, 2018 4 hours ago, Andreas Augustin said: What would the best way to extend an existing Image Field database table with a new column? As @horst said, ImageExtra is the way for now, but Ryan has stated it's in the plans for the core: Quote Custom properties for image/file fields. Currently file and image fields just support description and tags options as meta data to accompany a given file or image. We'd like to move towards supporting additional custom inputs for these types. It's one of the key things I'd like to see implemented ASAP actually. 3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now