[Pmwiki-users] RE: NEW Cookbook Recipe's
Knut Alboldt
alboldt
Fri Jun 4 13:07:48 CDT 2004
At 05.06.2004 08:43, you wrote:
>I'm not familiar with IPTC-info. Could you briefly explain, or provide
>a link to some info? Also, describe the implementation (how do you
>envision it working/doing?).
IPTC (see: http://www.iptc.org/pages/index.php) is a format (?) of
including text-info into an JPG-graphic. Most of the newer graphic-viewers
(like XnView and irfanview) and - editors support it.
you have different fields (like author, date, titel, caption, keywords etc)
to store within the image-file.
There is a native PHP(4) funtion described in
http://us4.php.net/manual/en/function.iptcparse.php
There is an implementation for another PHP-Gallery here:
http://tim.digicol.de/gallery_iptc/:
>> For advanced users: Note that PHP has full (while currently poorly
documented) read/write JPEG IPTC support with the
<http://www.php.net/manual/en/function.iptcparse.php>iptcparse() and
<http://www.php.net/manual/en/function.iptcembed.php>iptcembed() functions.
<< (I will check this)
Also there is a PEAR-class (see:
http://pear.php.net/package/Image_IPTC/docs/1.0.2/Image_IPTC/_Image_IPTC-1.0.2_IPTC_php.html)
which can be used to extract the info into an array:
suggestion: the extracted IPTC-data could be put into std PmWiki
Format-variables which could be included in your WikiGalleryOutputTemplates
- if desired - for viewing images and Text.
I can also see the next days how to include this and give you some code
snippets when I installed your module for testing.
btw: another interesting feature is EXIF - like IPTC but included
automatically by a digital camera into it pics
>From: "Knut Alboldt" <alboldt at gmx.net>
> > Hi Steven !
> >
> > Congratiolations ! That looks really good (both !). I think I will
>have to
ok, got my dict back : congratulation (the other way really looked weird)
> > implement this into my wiki. Great !
> >
> > For the x-gallery: do you think of giving the possibility of
>extracting and
> > displaying IPTC-info for the thumbs / big images as well ?
> >
> > cheers
> >
> > Knut
> >
> >
> > --
> > Pmwiki-users mailing list
> > Pmwiki-users at pmichaud.com
> > http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
More information about the pmwiki-users
mailing list