SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru
    Join Date
    Mar 2004
    Posts
    639
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to insert coordinates into EXIF meta data with PHP?

    Hello guys,

    I wonder, how can I insert meta data such as geo coordinates (longitude and latitude) into JPEG file with PHP? I found PHP Exif functions manual, but it seems it will not work for me, because these are read only functions.

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yes, the EXIF functions are read-only. What you need is PEL.

  3. #3
    SitePoint Guru
    Join Date
    Mar 2004
    Posts
    639
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Raffles View Post
    Yes, the EXIF functions are read-only. What you need is PEL.
    Thanks. It seems it will work.

    But it's pretty difficult library. Does anyone know easy way to insert longitude and laltitude into JPEG EXIF using PEL?

  4. #4
    SitePoint Guru
    Join Date
    Mar 2004
    Posts
    639
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't find any example in Google. Could you guys share if you have one please. I've read part of documentation and I even can't understand what function should I use for geotargeting.


Bookmarks

Posting Permissions

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