ZenphotoCMS Forum
ImageInfo City, Location.... - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: ImageInfo City, Location.... (/thread-5999.html)



ImageInfo City, Location.... - JanKardel - 2009-10-15

Hello!

I used Zenphoto 1.2.6 with the Zenpage Default Theme. It works great.

Only one Problem:
I want in the Image Info not the Exif Data, because I ever delete them.
I want the in this Window,when i klick it, see the Data City, location, State, Copyright....

All my try's to do this:

`
if (getImageEXIFData()) { echo "
<a href=\"#TB_inline?height=345&width=400&inlineId=imagemetadata\"
title=\"".gettext("Image Info")."\" class=\"thickbox\">".gettext("Image Info")
."</a>";printImageMetadata('', false);
`
for Example in this:
`
if (getImageData(copyright)) { echo "
<ahref=\"#TB_inline?height=345&width=400&inlineId=imagemetadata\"
title=\"".gettext("Image Info")."\" class=\"thickbox\">".gettext("Image Info")
."</a>"; printImageData(copyright,Copyright);
`
don't work.
The Copyright stand before the Tags and the Window that open by clicking Imageinfo is empty.

I am not really good in php.... :-(

I would be grateful for a tip.

Greetings


ImageInfo City, Location.... - acrylian - 2009-10-15

Use backticks for your code parts or `[code][/code]` so that your code example would be readable.

I als recommend to read this: http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/


ImageInfo City, Location.... - JanKardel - 2009-10-15

Thank You!
I now believe it would be correct.

Yes, I know the link, but apparently I'm not quite understand it.
But I'll try again.


ImageInfo City, Location.... - JanKardel - 2009-10-15

Hello!

I think my Problem is to use Thickbox!

Is it possible to, for example, use getImageData(copyright),
printImageData(copyright,Copyright)or getImageCustomData()
by InLine in Thickbox.


ImageInfo City, Location.... - acrylian - 2009-10-16

I guess so, but you have to try yourself.


ImageInfo City, Location.... - JanKardel - 2009-10-16

Yes that is right! And that is good so. ;-)
So I learn more About the Code of Zenphoto and PHP.

When I did it.... could I post it here?