Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7405221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:22:15+00:00 2026-05-29T05:22:15+00:00

I kinda ran into a problem, I’m working on a small image site for

  • 0

I kinda ran into a problem, I’m working on a small image site for a photographer, the photographer uses photoshop to store information into the image.
Information such as image data, location, descriptions, …

He’s been doing this since CS3.

When user uploads a picture to the site, he wants everything to go automatically, so I was trying to read out all the keywords, like this:

$size = getimagesize($path, $info);
if(isset($info['APP13'])) {
    $iptc = iptcparse($info['APP13']);

    if(isset($iptc['2#025'])) {
        $tagsArr = $iptc['2#025'];
    } else {
         $tagsArr = array();
    }
}

This all works fine for images saved in CS5, but for images saved in CS3 it fails, even though I’m 100% sure the keywords are in there.

To give an example:
This one fails – http://woutr.be/naturalight/uploads/ea568fea3e7eb1448d30fb823f477aac.jpg
This one works – http://woutr.be/naturalight/uploads/e3f2e6db833803a77eb75aae16e8c8ec.jpg

I’ve been looking into this for a few days, but I can’t figure out why this doesn’t work for some images.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:22:16+00:00Added an answer on May 29, 2026 at 5:22 am

    I know you had mentioned that you tried ozhiker’s code before, but I was able to pull a full list of keywords from both images using Photoshop_File_Info.php

    http://www.ozhiker.com/electronics/pjmt/download.html

    From file 1:

    amphibian
    aquatic
    belgium
    close-up
    common frog
    europe
    frog
    froglet
    leaf
    metamorphosis
    pond
    reproduction
    silhouette
    spring
    veins
    water
    waterplantsamfibie
    belgie
    blad
    bruine kikker
    europa
    kikker
    kikkervisje
    metamorfose
    nerven
    poel
    silhouet
    vijver
    voorjaar
    voortplanting
    watermilieu
    waterplanten

    From file 2:

    finland
    abstract
    boom
    tree
    bomen
    trees
    boomstam
    dromerig
    effect
    soft
    zacht
    kleur
    colour
    lijnen
    lines
    patroon
    pattern
    patronen
    patterns
    scenic
    picturesque
    sfeer
    atmosphere
    bos
    forest
    naaldhout
    conifer
    pine forest
    blauw
    blue
    lijnen
    lines
    sparrenbos
    fijnsparrenbos
    firtree
    spar
    fijnspar
    picea abies
    norway spruce
    habitat
    national park
    alps
    europe
    nationaal park
    nature
    natuur
    woud
    vegetatie
    plant
    vegetation
    planting
    tree
    boom
    boslandschap
    wildernis
    monochrome
    movement
    beweging

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've ran into the following problem: the javascript lib i'm working on uses JSON
I just ran into an annoying problem. Suddenly Avira AntiVir started to flag one
We ran into a problem where, if you rebase your branch on top of
I ran into a problem using case classes and parameterized types with an upper
I am learning mysql and ran into a problem with 'mysql.proc' missing when trying
Recently, I ran into a problem with my application: the size of the JSON
I'm trying to get a small twitter client running and I ran into a
I am looking at FullCalendar but I ran into a couple problems. Problem 1.
Today I ran into a problem were I needed to remote-debug a program. The
I am currently creating a class for a small project and ran into an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.