Allen for Umbraco with location EXIF meta data
Posted
by
Vizioz Limited
on Vizioz Umbraco Blog
See other posts from Vizioz Umbraco Blog
or by Vizioz Limited
Published on 2012-06-09T03:01:00.004-07:00
Indexed on
2012/06/09
10:46 UTC
Read the original article
Hit count: 721
- Storing location and direction information when photos are taken within the App
- Embedding EXIF data into the images when they are upload
- Background Uploading
- Pull to refresh the media tree
Location and Direction
By default when the camera is used within an application the location and direction that the camera is pointing is not stored within the image meta data. We have now added full support so that this data is now added. We have added a setting which allows you to prevent this data from being uploaded to your website if you do not want the location data to be sent you can turn it off within Allen,Note: Please don't forget that location services do need to be turned on to allow the app to access the images in the phone's asset library.
We have had quite a few ideas from users already for using this location data, including logging free parking in Denmark to geo-tagging holiday photos and linking the photos to Google street view.
Embedding EXIF data
We now embed all the meta data available on the iPhone into the image when it is uploaded to your server, this allows you to pull the data out and use it within your site. Have a look at Cultiv's Photo Meta Data package for great example code that allows you to automatically pull this data out and populate properties on your Umbraco media item.We slightly modified the source code of this package to allow the package to always extract the image data, as the default package requires a property to allow the data to be extracted, it's an easy change, if you get stuck add a comment to this post.
Background Uploading
If you try to upload multiple images and need to start doing something else on your phone, you can now click the home button and the application will continue to upload your images in the background. As soon as it has finished you will receive a standard Apple notification.Pull to Refresh
Our final enhancement has been to add "Pull to refresh" to the media trees, just pull the tree downwards with your finger and it will refresh, this is useful if you are adding items to your media tree while testing your site with Allen for Umbraco.Future enhancements.. your ideas?
If you have any ideas for future enhancement feel free to add a comment below!© Vizioz Umbraco Blog or respective owner