Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Topic closed
#1 2004-05-08 00:53:01
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
[archived] zem_exif: EXIF plugin (untested)
Notice: This thread is archived, this plugin is no longer available.
**********************************************************
Someone asked a little while back about a plugin to display EXIF image tags. Here’s a quick stab at it, based on my IPTC plugin: zem_exif.
This is completely untested. I don’t have a PHP installation that supports exif_read_data(), and I don’t know much about EXIF. It passes syntax checking, and that’s about all I can tell. Perhaps some brave soul can give it a whirl and see what happens, if anything.
Use it on the same page as a txp_image_display tag, something like this:
<txp:image_display />
Comment: <txp:zem_exif tag="COMMENT.0" />
<txp:zem_exif tag="COMPUTED.Copyright" />
Alex
Offline
Re: [archived] zem_exif: EXIF plugin (untested)
oh my.
how would you know what is a proper tag for the tag=?
thanks =)
[edit] nevermind it’s in the doco. Going to test this on a single image now, see what happens. =)
Last edited by LisaJill (2004-05-08 01:02:22)
Offline
Re: [archived] zem_exif: EXIF plugin (untested)
Got this error:
Fatal error: Call to undefined function: exif_read_data() in /tmp/pluginsrF2xOW on line 488
I don’t think I have that compiled in either, unfortunately; which is probably why. =/
Over the summer, as my ‘learn php project’ I may learn how to do this using exifer (which makes all of the php stuff available) like one of the guys did for wordpress. I’m sure if I could manage that it’d be a great learning tool.
Can see where I was playing here:
http://www.lisa-jill.com/photos/?c=me
thanks for making this available, though!
Last edited by LisaJill (2004-05-08 01:20:10)
Offline
#4 2004-05-08 01:37:42
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [archived] zem_exif: EXIF plugin (untested)
Sounds like it’s fairly common for the exif stuff to be left out of PHP. Using an external library would solve the problem, but that’s a bit messy to do in a plugin.
Alex
Offline
#5 2004-08-05 22:53:41
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [archived] zem_exif: EXIF plugin (untested)
Not really. I’ve been idly looking for a self-contained method of reading EXIF data, but it looks like a tricky job.
It wouldn’t be hard to import an external library like PEL or Exifer, but that probably makes it too complex for many users.
Any suggestions?
Alex
Offline
Pages: 1
Topic closed