Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Display info about image?

Guest
Jan 03, 2011 Jan 03, 2011

Is there a way to display information about a uploaded picture?  Such as size, GPS info (if it is included), etc?

590
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jan 03, 2011 Jan 03, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 03, 2011 Jan 03, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 03, 2011 Jan 03, 2011

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:

Capture1.JPG

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jan 03, 2011 Jan 03, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 03, 2011 Jan 03, 2011

Mine is though, it is a Motorola Droid.....and I do have the GPS turned on........ so I'm a little confused.....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jan 03, 2011 Jan 03, 2011
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources