Copy link to clipboard
Copied
Is there a way to display information about a uploaded picture? Such as size, GPS info (if it is included), etc?
Copy link to clipboard
Copied
With the later versions of ColdFusion (8 & 9), the <cfimage...> tag and|or image functions.
With earlier versions, you will have to look for third party and|or java based solutions, there are many out there for the internet search.
Copy link to clipboard
Copied
This blog is a couple years old, but I still find it to be one of the most
helpful blog entries for getting started with ColdFusion and IPTC/EXIF
metadata. It still applies to CF9.x.
http://www.leavethatthingalone.com/blog/index.cfm/2007/7/18/ColdFusion8_Exif_and_IPTC
Copy link to clipboard
Copied
Thanks for the blog, but when I dump the image data, I can see model, etc...... no GPS info though....... for some reason I
thought that all modern cell phones embedded that info into the picture......
Or am I wrong? I only see:
Copy link to clipboard
Copied
With the assumption that MOST cell phones are still not SMART phones, like my basic Samsung flip phone.
And the great majority of the 'standard' phones have camera's BUT DO NOT HAVE GPS anntenna's. Then I would presume that any picture taken with one of these phones would have NO GPS data.
Copy link to clipboard
Copied
Mine is though, it is a Motorola Droid.....and I do have the GPS turned on........ so I'm a little confused.....
Copy link to clipboard
Copied
Are you sure that the picture is recording the GPS data.
Doing that by default created some privacy stink with some people.
I would investigate the picture with other tools to ensure what data it contains. So you can tell if the camera is not recording the data OR that your application is not receiving and|or reading the data.