IPTC 'Keywords' Metadata Search Capability - Query / Feature Request

jmorton

Joined: 2009-04-18
Posts: 1
Posted: Sat, 2009-04-18 18:04

Gallery3 Development Team,

I have been looking constantly at the SourceForge Trac Roadmap to see whether Gallery3 development will cater for an IPTC 'keywords' JPEG field metadata search capability - but can't see it?!

Is this something that is to be built into the core product?

As background to this query/feature request;

I’ve gone and meticulously metadata drag'n drop tagged all of my 13,000 photos with keywords via Adobe Lightroom and want people visiting my site to be able to search for these imported images via a Gallery search field somewhere in the (say) webpage header.

…Ideally returning the resultant images in the form of either a (detailed?) list or a Gallery equivalent to the Airtight Interactive SimpleViewer presentation code (or an alternative lighbox mechanism). The 'holy grail' as far as I'm concerned is to provide all of these search result hits as an ‘on-the-fly’ dynamically created Gallery album (or, in addition; dynamically generated albums based on a predefined metadata keyword)!

Any chance this is on your radars?

Cheers,

John

PS: The closest thing I can find is a commercial product here:
http://www.envisionv2.com/demo//search.cgi

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2009-04-23 23:53

In the current code, when you add a photo we pull those values out of the image and turn them into Gallery3 tags. You can use the tags to create virtual albums. I believe this is what you want-- try it and see. If it's not exactly what you want please let us know and we'll put something on the roadmap.

 
Ericular

Joined: 2003-05-08
Posts: 80
Posted: Wed, 2009-05-27 03:51

Hi, I'm in the same boat as jmorton. I've got 18,000+ photos that I'm in the process of tagging in Lightroom, with the ultimate goal of Boolean search capability with G3. I see the tag cloud, and virtual albums... but can I see photos that are tagged as "Bob", "Nancy" and "Jill"? In theory I'd be able to query "Bob Nancy Jill" in the search and see only photos containing all three of them.

In short, can an average user view a virtual album that's generated from multiple tags? This is indeed the "holy grail" for me as well. I was just about to research whether anyone ever successfully implemented Boolean search of keyword metadata under G2... but I'll wait for G3 if you think this is possible.

THANKS!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-05-29 23:20

The short answer is that yes, we can and will do stuff like this eventually. The infrastructure for it is easy it's really just a matter of getting the UI right for it. If you're interested in doing some shared coding, create a fork of Gallery3 on github and I'll push some code up to your fork that does this and we can bat it back and forth a bit.

---
Gallery 3 problems? Check gallery3/var/logs before you post!
Gallery 3 latest code: http://github.com/gallery/gallery3/zipball/master
Gallery 3 from git: http://codex.gallery2.org/Gallery:Using_Git

 
joshuamarcoe

Joined: 2009-06-04
Posts: 4
Posted: Fri, 2009-06-05 13:49

Hi,

I'd like to add my two cents worth... I just started using G2, so maybe these things are already thought of...

Current Project...

I have 1200 old glass slides that I just had scanned (from the early 1900s). We had some metadata in a paper document, and we imported the data into Microsoft Excel so we could easily modify and manipulate the metadata, and have it in a useful form for automatically uploading into Gallery 2. Then I had to use a command line program on Windows XP named Exiv2 to upload the metadata into some of the EXIF and IPTC tags in the file... (using Excel to generate the command line parameters, and loading into a batch file, which pushed the metadata right into the JPG file). I am currently loading all this into Gallery 2, since G3 is not quite ready yet...

Suggestions...

So now I have some fairly extensive metadata that is right in my files, and would like to see more functionality surrounding the EXIF and IPTC metadata within Gallery 3:

*************************** SUGGESTIONS ************************

1) Allow the EXIF / IPTC / XMP metadata fields that are pulled into Gallery to be searched like the Core metadata, the Comments, and the Custom Fields. I don't expect this should be hard to do...

2) Allow for advanced searches to be limited to a specific Album.

3) Allow for advanced searches to be limited to a specific Album and all sub albums.

4) Allow EXIF / IPTC / XMP metadata to be mapped directly into the custom fields upon uploading the files.

5) Allow EXIF / IPTC / XMP metadata to be "harvested" after the files have been uploaded, so you don't have to do reload to get the metadata, if you didn't do it originally.

****************************************************************

Code Snippet...

Here is a little snippet of the command line parameters that I used to load the Exif and IPTC metadata from Excel into my files using Exiv2. Once statements like this were created, I loaded them all into a batch script and ran them. It might help some people who are trying to upload metadata automatically into Gallery 2 or 3 in the future:

exiv2 -M"set Iptc.Application2.ObjectName String GS-B1" -M"set Iptc.Application2.Caption String Publishing House, Victoria" -M"set Iptc.Application2.Keywords String Publishing" -M"set Iptc.Application2.CountryName String Australia" -M"set Iptc.Application2.Program String ImageMagick; Exiv2" -M"set Iptc.Application2.Byline String General Bob" -M"set Iptc.Application2.DigitizationDate Date 2009-03-10" -M"set Exif.Photo.DateTimeDigitized 2009:03:10 00:00:00" -M"set Iptc.Application2.Copyright String Public Domain" -M"set Iptc.Application2.Contact String General Bob" -M"set Iptc.Application2.DateCreated Date 1905-01-01" -M"set Exif.Photo.DateTimeOriginal 1905:01:01 00:00:00" -M"set Exif.Image.DateTime 1905:01:01 00:00:00" GS-B1.jpg

Thanks, Bharat and team for a great product!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-06-05 18:58

These are all fine ideas. Would you please file them as separate feature requests here: http://apps.sourceforge.net/trac/gallery/ and set them for the "Beta 2" milestone.