Use IPTC infos of jpg image in Lightbox description ????

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
heliotrope
Posts: 33
Joined: Fri 14. Sep 2007, 15:21

Use IPTC infos of jpg image in Lightbox description ????

Post by heliotrope » Thu 31. Jan 2008, 15:46

Hello...
I've been searching infos in the forum about this, but I found nothing ..
Is there a possibility to read IPTC informations of Jpeg files, and put these infos in description field/caption of the large image in Lightbox ???
(or anywhere else in the page...)
Is someone able to code some lines???
RT ???

thanks a lot !

User avatar
Jensensen
Posts: 2995
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Use IPTC infos of jpg image in Lightbox description ????

Post by Jensensen » Fri 1. Feb 2008, 04:19

heliotrope wrote:...is someone able to code some lines???
can not be done easily i guess. same to EXIF...
but this is an interesting question.
could perhaps be an issue regarding --> ImageMagick, too. [to handle, read, save --> keep this data]
whether they remain in connection, close with the images, there could be a way to read them out and place the information anywhere...
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.

User avatar
heliotrope
Posts: 33
Joined: Fri 14. Sep 2007, 15:21

Re: Use IPTC infos of jpg image in Lightbox description ????

Post by heliotrope » Fri 1. Feb 2008, 17:07

Hi Jensensen...
Thanks a lot for your advices...
Well.. I'm not really a programmer ...the only thing I can do is working templates , css, html...Etc
So, I don't know what to do since this function could allow me to built a full phpwcms integrated image bank...
Maybe a solution will appear in the next version of phpwcms ...

User avatar
Jensensen
Posts: 2995
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Use IPTC infos of jpg image in Lightbox description ????

Post by Jensensen » Fri 1. Feb 2008, 17:40

hi heliotrope,
heliotrope wrote:.. I'm not really a programmer ...
me too, but since using phpwcms (cms at all) I need to . :( and try to amend... :wink:
heliotrope wrote:...image bank...
do you know any [online] gallery tools, which can handle IPTC/EXIF tags?
heliotrope wrote:...So, I don't know what to do...
i don't know as well...
heliotrope wrote:...Maybe a solution will appear in the next version of phpwcms...
no, since there are no other server apps, libs, --> interface which read/work with this data...
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.

User avatar
Jensensen
Posts: 2995
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Use IPTC infos of jpg image in Lightbox description ????

Post by Jensensen » Thu 21. Feb 2008, 01:18

well, there are some news:

when you run this little php script on your server [to check which PHP Extensions are available],
<?php
$loadedXT = get_loaded_extensions();
for($i=0; $i<count($loadedXT); $i++)
{
echo $i+1, ": ", $loadedXT[$i], "<br />";
}
?>
you will probably notice that there is --> exif installed as well...
[this php lib is available for several years yet :!: :?: oops ]

ImageMagick should be able to handle EXIF tags:
http://www.imagemagick.org/discourse-se ... =3&t=10491
or
http://www.imagemagick.org/discourse-se ... hilit=EXIF
but only since ImageMagick v6.3.8-1 Beta.

The question generally is, whether IPTC or EXIF tags work with files --> after conversion, scaling etc...

On my web server there is the php exif extension installed but no ImageMagick. :( So, I couldn't run any tests. Anyway, I guess, phpwcms takes no care for this tags...[so far]...even though ImageMagick does [will do].

Needs some more research....
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.

abo
Posts: 28
Joined: Sat 5. Aug 2006, 12:16

Re: Use IPTC infos of jpg image in Lightbox description ????

Post by abo » Thu 22. Jan 2009, 22:57

Hi,

I' am not a programmer too, but I found this and ist sounds good:

http:// www .cmsdev.de/2008/iptc-daten-mit-php/

Post Reply