Hello Community
I have nearly 1500 documents (PDF / JPG / PNG) with added Title, Description and Tags in File Manager.
I need to export them to a image server of our school running Drupal. Running a test, using an image from OSX it works fine.
Using export from concrete file manager as a zip didn’t port the image information.
Is information added to the images written to the file when exporting the image?
Are some extra procedures necessary or must I use the Migrate Addon?
Thanks John. I see, that is a difficult question. I thought it could be done without reinventing the wheel.
In Concrete’s File Manager, I inspected the attributes to the files. No EXIF data here, just IPTC, probably coming from Adobe’s XMP, which is an ISO standard.
I figure that when they were imported into File Manager, they can also be exported.
That is not the case, exported documents loose all CCM attributes and IPTC data.
Our developer person says, that it should work, from coding within CCM using a IPTCApplication or plugin or a script.
So I wonder if anybody has tried that on Concrete before.
There is a php interface for reading exif_read_data(). I use it in Omni Gallery to map exif data into an image’s displayed name or description. For XMP data I had to parse it the hard way.
I don’t know of a write equivalent. Writing is always trickier. Someone will have implemented it somewhere in GitHub.
You would need to modify the way an image file download is processed to insert the data as it goes. Perhaps a Concrete event handler. Perhaps an override. Perhaps easier with a custom downloader.