A number of users have recently enquired about the possibility of using Exif and/or Iptc metadata in their albums.
JAlbum uses a metadata extraction library written by Drew Noakes.
If you select "Extract photographic data (Exif) on the JAlbum>Advanced>Main tab, some of these data are passed in JAlbum variables.
$comment (can be any of several tags - Will be extracted from one of the following:
1. An external "texts.properties" file.
2. The JPEG comment section of an image file.
3. The IPTC caption section of an image file.
4. The EXIF user comment section of an image file.
(See JAlbum Tutorials for further explanation - http://jalbum.net/skincreation.jsp )
Some skins allow you to select some of these in the user interface, or you can incorporate into the album by editing the template files and adding this code where you want the metadata to appear
(replace "copyright" with whichever JAlbum variable you want to use.
If the metadata that you require is not available as a JAlbum variable, it is still possible to obtain it, using a script like this
(Replace "Author" with whatever label you want to appear beside the data (it any), and replace "Iptc.Byline" with the appropriate metadata name.
The template files you need to edit are "slide.htt" for slide pages or "index.htt" for index pages. (See "Modifying a Skin" tutorial at http://jalbum.net/addbuttons.jsp ).
You can populate the Iptc and some of the Exif fields with Exifer, Irfanview or BreezeBrowser or some other graphics programs. Unfortunately, there is some inconsistency in naming the various fields, so I have attached to this post a spreadsheet showing the official standard tag names as specified in the Iptc and Exif specifications, along with the names used in BreezeBrowser, Irfanview and Exifer. The Drew Noakes library uses the official names, other programs use their own variations. The table was extracted from http://doug.kerr.home.att.net/pumpkin/Annotation.pdf
Here are the script statements to retrieve the various JAlbum variables -
Thanks, David - that improved syntax represents a compression rate of 25%!!!!!!!!!
If anyone with access to Photoshop or other programs with different names for metadata fields would like to extend that spreadsheet, please do so!
If I use the following code (extracting the same data using both my original syntax and your suggested shorter syntax), the first syntax type returns metadata for all cases
The second only returns for Exif, not for Iptc or Jpeg. Am I missing something?
Sorry about that issue guys. I guess it boils down to the use of a dot (.) to separate iptc from their variable names. The dot has a special meaning in this short syntax (shortening for .get("variable name") )
I'm terribly sorry to post a question here, but the same question remain unanswered in other foruns, and as it's related to Iptc metadata, and this is a recent thread...
I use mainly IPTC fields as much of the pictures I work with are in film, so I work with scans. Scans have no EXIF or it's the wrong one for my purposes: Date.
To post pictures in the qeb I like to have them dated with the date of capture, or the date of the event depicted, that is the same.
The problem is that when Jalbum extracts the 'Iptc.Date Created', through 'meta.get' it is displayed in this form: "E MMM dd hh:mm:ss z yyyy", and I need it to be showed in this form: "dd/MM/yyyy" and I have no clue as how to do that.
I've searched the foruns but the solutions I've found didn't work for me, and I have no programing background, I'm a photographer.
Actualy I'm workaround this by put the date in the form I want in the 'Iptc.Headline' tag along with the actual Headline, but I really would like to use the proper Iptc field for this.
There is some way to do that?
Many thanks and sorry again for cross post and in the wrong place.
Don't know too much about IPTC, but I create scanned images often, and digital panoramics (which lose their Exif info). I use 2 applications, Exif Viewer and Exifer, to manage Exif data ... the latter will insert Exif date information.
The only drawback I see is that Exifer may not batch process .... I can't remember. I know a lot of people here use Exifer, so you may get some more help.
Exifer does batch process, but I don't want to add another program to my workflow. I use Thumbsplus Pro 7 to catalog and write the IPTC on my files, and Pixvue on ocasion when I need something in the OS level.
As a standard procedure I leave the EXIF metadata to be writen by the devices, cameras in special, as it is planned for I supose, and IPTC metadata to identify the content, authorship, copyright, contact info,. So I usually only read EXIF don't write it.
I'm looking for some scripting solution in album creation if there is some. I work in portuguese language environment. I wouldn't care if I had something like yyyy/MM/dd, instead of dd/MM/yyy as there are only numbers and are prety obvious, but week days and mounths in english, and wrong time (hh:mm:ss), when I hardly need the right one, is something I can't live with.
I have a slight problem thats becoming a pain due to the increased volume of images Im now processing (over 300 per day).
Im using Picasa to index all the images that come in to my site, then adding IPTC data as a comment to the images, and exporting them to a folder ready to be processed through JAlbum.
Sounds good!... My problem is with the IPTC comment data. Its showing up in Picasa and PS. BUT it's not being picked up by JAlbum. So Im having to re-type all the comments directly into the JAlbum "Edit" section.
Im using a modified version of Chameleon (but its the same in the normal version too), and I wonder if I need to uncheck any of the comment buttons in this skin?
Anyone help with this? An example gallery can be viewed here <a href="http://www.kasstzam.com/newsstream/index.html"> New Stream</a>
On the JAlbum Advanced>Main tab, make sure that "Extract Photographic Data (EXif)" is checked.
There is also a set of checkboxes at the bottom for Comment sources. Make sure that "IPTC" is checked and "Text file" and "JPG" are unchecked.