18590 Posts in 4875 Topics by 2285 members
General Questions
SilverStripe Forums » General Questions » Save EXIF to Database
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 556 Views |
-
Save EXIF to Database

28 August 2010 at 12:38am
Hi,
Does anyone know how I would go about extracting EXIF data from an image as it is uploaded and inputting this information into the CMS?
Thanks!
-
Re: Save EXIF to Database

28 August 2010 at 1:32am
You'd need to decorate the Image class and customise the 'onBeforeWrite' function.
Using exif_read_data to then get the information and save it to the relevant db fields you create.
| 556 Views | ||
|
Page:
1
|
Go to Top |


