-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim Starling schrieb:
Magnus Manske wrote:
I have added the PHP EXIF data reader from [1] to
CVS HEAD. EXIF data
display is now turned on by default on the image page. The PHP class I
used is independent of the EXIF PHP library, which would otherwise have
to be linked in (recompile/won't run everywhere).
I have patched the class to some degree to suppress error messages, and
to prevent showing bogus EXIF data where none exists.
As I recall, automatic EXIF data display has been on the "wanted
feature" list for quite some time. So, rejoice! ;-)
Would you consider putting that information into the database? A
metadata blob would do the trick, with some method to distinguish values
set by various extensions. Your patch won't work for apaches which have
no access to the commons filesystem, which is how we intend to set up
the Yahoo/Belnet/Kennisnet apaches. Image::getImagePath() will return false.
Can do. How about img_metadata, with XML? We could add more EXIF data or
other metadata about the image there. Or would that be too slow to parse?
Another way would be to keep it as it is, and add a special mode to
ImagePage.php, which would return the EXIF table in plain text; that
could be read in by the "calling" wikipedia.
Now that I think of it: Why not include the EXIF data in the
Special:Export XML for the image description page? That way, we could
display EXIF data, image comment, (last) author of the description page
etc. in the "calling" wikipedia, which is a wanted feature anyway.
Magnus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird -
http://enigmail.mozdev.org
iD8DBQFCZ4D6CZKBJbEFcz0RAmt1AJ4v9bxNTKOb3YODkqP0HnJVfSH8ywCfUCNq
8GWyLVqECqj3FI/rG486XBI=
=dZAd
-----END PGP SIGNATURE-----