Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Jun 30, 2021 07:26 AM
Is it possible to modify image EXIF data in Airtable such as date, time, GPS?
I found lots of information about how to read EXIF and save it in Airtable but there is no info about how to edit EXIF.
Thank you.
Jun 30, 2021 08:32 AM
Welcome to the community, @Vladimir! :grinning_face_with_big_eyes: Unfortunately EXIF data can’t be edited directly on Airtable image attachments because the files are hosted on a read-only server (as far as Airtable end users are concerned). This is pure speculation, but you would need to copy the images to a server that allows the files to be edited (or download them locally), edit the EXIF data there (somehow), then re-attach the files to the Airtable record(s).
Jun 30, 2021 08:56 AM
Thank you for your answer.
I recently found an opportunity to use scripts in Airtable. Is it possible to create custom script using JavaScripts or GitHub library to solve my problem?
P.S. I do not fully understand the possibilities of Scripts functionality in Airtable.
Jun 30, 2021 10:45 AM
@Vladimir Scripts in Airtable are all written in JavaScript, and exist in one of two places: in a Scripting app, or in a scripting action in an automation. The latter has some restrictions in terms of the resources that are used in running the script (e.g. CPU time), but scripts in the Scripting app don’t have those to my knowledge. With that in mind, it may be possible to write a script for the Scripting app that could use third-party APIs to follow the steps that I outlined earlier: copy the script to another server/service, edit the file’s EXIF there, then reattach the file in Airtable.
Re: GitHub libraries, those could be utilized, but they’d have to be installed on (or somehow accessible by) the server that does the EXIF processing. Airtable doesn’t allow installation of outside libraries for use by its scripts.