Member
Member
JanKardel   2009-10-15, 13:51
#1
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
Administrator
Administrator
acrylian   2009-10-15, 14:02
#2
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/
Member
Member
JanKardel   2009-10-15, 14:13
#3
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.
Member
Member
JanKardel   2009-10-15, 22:16
#4
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.
Administrator
Administrator
acrylian   2009-10-16, 08:50
#5
I guess so, but you have to try yourself.
Member
Member
JanKardel   2009-10-16, 10:27
#6
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?
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.