Yves Petronin Posted June 19, 2011 Share Posted June 19, 2011 <p>I have spent a while figuring a curl script to automatically upload the "edit image info" data from a data base, because find very inconvenient to do manually it for each picture. While I have been able to update automatically almost everything, I have not yet found a way to upload automatically the year, month and day corresponding to the time when the picture was taken. I have tried the command below, which seems identical to what a browser sends manually, but no way....<br> curl (---- code for authentification and other fields-----) -d "ColValue.exposure%5fdate.month=July&ColValue.exposure%5fdate.day=23&ColValue.exposure%5fdate.year=1972"<br> Is there any clue or trick to do the job? <br> Thanks<br> Rgds</p> <p> </p> Link to comment Share on other sites More sharing options...
andrewg_ny Posted June 19, 2011 Share Posted June 19, 2011 <p>Does it not pull that date out of the image EXIF?</p> Link to comment Share on other sites More sharing options...
joshroot Posted June 20, 2011 Share Posted June 20, 2011 <p>That was going to be my suggestion. Using EXIF would seem to be a much easier way to get this done.</p> Link to comment Share on other sites More sharing options...
Yves Petronin Posted June 20, 2011 Author Share Posted June 20, 2011 <p>I still use film, and therefore scan the slides or negatives, therefore, the date of exposure is to be entered manually....at some point. I have not given thought to the fact that this info could be added manually to and later retrieved from the EXIF file, but I can make certainly make some tests. It still annoys me that the only info that I cannot upload automatically is this data....</p> Link to comment Share on other sites More sharing options...
andrewg_ny Posted June 20, 2011 Share Posted June 20, 2011 <p>exiftool is an easy, scriptable way to write IPTC/EXIF metadata into your image files.</p> Link to comment Share on other sites More sharing options...
Yves Petronin Posted June 20, 2011 Author Share Posted June 20, 2011 <p>Yes exiftool is very powerful. I did use it a while ago to embed the copyright, but I now use another tool. I will make a test of embedding the date in the picture, and perhaps other metadata, from my database. This is not the process I had in mind, but if long as I can automate it both ways, why not....</p> Link to comment Share on other sites More sharing options...
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