Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Apr 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using JavaScript to extract EXIF data.

    Hi. I'm planning to make photogallery to my home page. I'm pretty new to html, Javascript an such.
    What I'd like to do is extract the EXIF data from my jpeg images. I searched the forum and found something, but it really didn't help me much. I have also searched from Google and have found that this is harder than it should be - how hard can it be to locate some strings from a file. Maybe the hidden data isn't well standardized yet...
    I can't use php or any other server side programming language (my server doesn't provide any support for these), so I have to use Javascript or some other client side method. I can't see why this couldn't be done on the client side.

    Can you help me with this? I'd really appreciate it and I believe there are many others that might use this feature as well on their sites. If this works out, this thread could be made to a How-To article about the issue.

    Thank you.

    Tony

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    JS can't handle that type of data...
    *this message will self destruct in n-seconds*

  • #3
    New Coder
    Join Date
    Jun 2004
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i agree with codegoboom on this one... plus, if i were you, i would move to a different host if they don't support php and such...

  • #4
    New Coder
    Join Date
    Apr 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My server is provided with my internet connection and is therefore free. I'd like to have php support of course, nut I'd have to pay extra.

    Could somebody explain why it has been made impossible to read such files with javascript. In principle I don't see why this couldn't be done - this should be the easiest things to do.
    What about if use java instead of javascript?

    Does anyone have link about standards digital cameras use to hide data to jpeg files?

    Thanks.

    Tony

  • #5
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The answer is: just because... image/file manipulation is beyond the scope of JS. Automation is not. However, it is generally impractical, due to client security restrictions (an example of one such interface: Windows Image Acquisition Automation Layer).
    *this message will self destruct in n-seconds*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •