Member
Member
no64   2008-12-16, 21:32
#1

I was just looking for some stuff like the additional information you can edit at the "image description" in the backend.
Like the "City", "Country", "Credit", "Copyright", etc.

Can these informations be displayed on the "image.php" ?

Member
Member
no64   2008-12-16, 22:04
#2

ok, with

``

I can show everything from that "Custom field", but what's about the other fields?

Member
Member
sbillard   2008-12-16, 22:32
#3

see printImageData()

Member
Member
no64   2008-12-17, 17:22
#4

hmmm,... if I put this into my image.php:

``

It seems to work fine, but
where can I find the correct "field name of the data desired" ? I have some problems with the "village", "city", "state" and "country"
I have a german zenPhoto installed and I'm not able to translate those correctly..... bad thing.

`

`

Administrator
Administrator
acrylian   2008-12-17, 18:46
#5

Hello again...:-) You really need to learn a few things about php functions in general and read the guide I posted on the other thread carefully before proceeding anyfurther. You need to do it this way (as again told on your functions guide tutorial):
``

Member
Member
no64   2008-12-17, 19:29
#6

harmonzeitn,.... :-) es funktioniert auch ohne "Anführungszeichen"..... I just didn't know the correct field name for "Ort" , "Stadt" , "Land" , "Staat", cause it seems to be some different translations here (I got it now from the backend code):

current translation:

Ort - not village - is location (I should have known that)
Stadt - is city
Land - not country - is state
Staat - not state - is country

I think the translation for "state" and "country" is switched somehow.... but I what do I know, I'm no good english speaking person .... :-)

Administrator
Administrator
acrylian   2008-12-17, 19:54
#7

Well, but with quotes is the correct way to do it.

Yes, that's the way I translated it, because "Germany" is the country and "Bayern" would be "ein Land", the equivalent to California which would be a "state" of the country USA. (Well, I can be wrong, too, of course..)

Member
Member
no64   2008-12-17, 21:03
#8

so,... yes,.... could be that way or the other way....
But that isn't important anymore..... now I know the translation... :-)

Thank's Malte

Member
Member
sbillard   2008-12-17, 21:06
#9

The general way to find the field names would be t look at the database definitions. These you can do using your MySQL administrative tools provided by you Internet Service Provider.

Member
Member
no64   2008-12-18, 14:16
#10

ok.... thank's

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.