Pages (3): 1 2 3   
Member
Member
kyrd   23-03-2012, 01:50
#1

hi, first of all let me tell you how I was delighted to see that my photos embedded data were shown with no further effort by my side.
that lot of work I did to fill in the IPTC data was finally worth!
but now I'm struggling with some metadata that aren't displayed although the field isn't empty.
e.g. IPTCLocationName is not displayed and I couldn't find how to get it printed.
as a reference this is a photo that has the IPTCLocationName embedded, as all the other metadata, but doesn't show it.
http://www.indirizzofantasma.net/zenphoto/numeri-civici/69/0069.jpg.php
how should I go to solve my problem?
and also an additional related question: how can I manage the order the metadata are displayed?

Administrator
Administrator
acrylian   23-03-2012, 10:10
#2

There is an option in the options image tab (I believe offhand) where you can enable what metadata files are imported and which not. I don't remember offhand if that is even supported.

You cannot manage the order unless you do custom coding on your theme.

Member
Member
kyrd   23-03-2012, 11:15
#3

oh, yes I even forgot that I've setted those options since the beginning, fact is that it's set but doesn't show in the output
(this is the actual html in my admin-options-page=options&tab=image:
input id="IPTCLocationName" name="IPTCLocationName" type="checkbox" checked="checked" value="1" /> Nazione/Nome località primaria)
what am I doing wrong?

2nd question, yes I'm aware of that, can you suggest where/which file/s can I start editing with trial&error method?

Administrator
Administrator
acrylian   23-03-2012, 12:33
#4
  1. I have to pass this to my colleague sbillard as he is the expert on the meta data things.

  2. You should first read the theming tutorial to learn the basics if you haven't already. Then you should get probably into the object model of Zenphoto. In short you will have to write a custom function to do what you wish.

Member
Member
kyrd   23-03-2012, 19:36
#5

1)ok, waiting...
2)well, yes, I've been reading (quite a lot) here & there and willing to go further in my learning, but I'm only a photographer not a coder... nevertheless I'm enough expert in writing html and css and I've been dealing with some programming languages before. so, if I can't write a custom function by myself I can succesfully cut&paste and make it work and/or go back to the starting point if things don't work.
I'm a bit surprised you say I should go into my theme? Am I wrong? I've been checking more or less all the files in there, but couldn't find where it is. I thought I should go into zp-core and there is where I found
function updateMetaData()
can I change the order in that array with no danger?

Administrator
Administrator
acrylian   23-03-2012, 19:46
#6

You should never touch core files as you will have to re-apply all change on every update of Zenphoto (which is recommend to do frequently naturally). Additionaly this could break dependent functionality in other places.

So the way to do this is to either write a theme custom function or a plugin to achieve custom functionality. HTML and CSS will not help, you need PHP knowlegde for this.

This function returns the an array of the metadata:
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetImageMetaData
So you will need to use the data of this to create your custom sorted list.

Member
Member
sbillard   23-03-2012, 23:57
#7

This is all working correctly for me. Maybe your images have the field mis-coded? Country/Primary Location Name also becomes the Zenphoto country field. Is this the case for you?

Member
Member
kyrd   24-03-2012, 01:26
#8

yes, I have some photos with the location name filled in but it isn't retrieved by the sytstem, while sublocation does... the above linked photo is one of those which have the location name not printed out. none of those photos show that field even if in my admin is correctly set to active.

Member
Member
sbillard   24-03-2012, 01:36
#9

That link is not much use. We would need the actual image to see what is in its metadata. But, if you have some that work and some that do not, you should try to figure out what the difference is.

Member
Member
kyrd   26-03-2012, 23:39
#10

@sbillard - maybe I wasn't clear, so let me recap, my workflow is like that:

1- I embed IPTC data in the photos
2- [i]every[/i] photo has title, byline, city, sub-location, state, country fields filled in
3- [i]some[/i] photos have the Location, keywords, special instructions fields filled in
4- in zenphoto admin all the above fields are set to be shown, except for the special instruction field, which I don't need to show
5- photos are uploaded to the server using the zenphoto uploader (no ftp)
6- keywords become tags and are shown regularly when filled in
7- all metadata are shown correctly [i]except[/i] the Location

I actually can read them also in the uploaded photos, both the resized (which has had the exif data destroyed, I guess by gd) and the original file, which I've retrieved back to my desktop.

here are again the relevant links:
http://www.indirizzofantasma.net/zenphoto/numeri-civici/69/0069.jpg.php = should click on [i][ + Info - ][/i] to see the metadata (lacking the filled in location name)
http://www.indirizzofantasma.net/zenphoto/albums/numeri-civici/69/0069.jpg = the uploaded original file, with IPTC & EXIF
http://www.indirizzofantasma.net/zenphoto/cache/numeri-civici/69/0069_w413_h550.jpg = the processed file, EXIF destroyed

something is clearly not working as expected at some point, but I can't figure out where exactly, I hope you can...

Member
Member
sbillard   27-03-2012, 01:10
#11

Probably we are failing to communicate somewhere. I have downloaded your image and looked at it with Zenphoto and Adobe Bridge. I see nothing present in the image metadata that is not present in Zenphoto.

I guess I really do not know what you are refering to when you say [i]location[/i].

It could refer to the image "location" column which is a Zenphoto field. That has in it calle priuli ai cavaleti which came from the IPTC sublocation filed. That field in the metadata list shows this value as well.

It could refer to the IPTC LocationName field. That field contains Italia.

It could refer to the IPTC LocationCode field. Your image has no data for that field.

All the fields for which there is data except for the headline, the date created, and copyright status are shown when I click on the [i][ + Info - ][/i] link on your site.

So, just exactly what do you think is missing?

Member
Member
kyrd   27-03-2012, 10:12
#12

Quote:It could refer to the IPTC LocationName field. That field contains Italia.
actually here is the problem, Country and LocationName are not the same thing, nor the same field.
btw Country is well translated into Nazione, while State is Stato/Provincia and contains VE.
according to my input, I do have Country field that contains Italia and LocationName that contains Cannaregio.
if you can make use of an .ipt file (I can't read it, only import it as model), here is the link to http://www.indirizzofantasma.net/zenphoto/uploaded/0069.ipt

Member
Member
sbillard   27-03-2012, 16:54
#13

I have quoted to you exactly what is displayed in your IPTC metadata by Adobe Bridge. There is no translation done in IPTC fields as these are outside of the province of Zenphoto.

Since Adobe and Zenphoto seem to agree on what metadata is in your image I fear there is nothing we can do for you.

Member
Member
kyrd   27-03-2012, 17:29
#14

it's allright, at least with your help I've narrowed the issue: might well be that the software I use for managing my photos disagrees with adobe (actually I don't like bridge at all). I'll investigate more and eventually report my findings.
thankyou

Member
Member
sbillard   27-03-2012, 18:13
#15

Just FYI, we did implement our IPTC handling based on the IPTC standard not specifically an Adobe interpretation. But as the two agree, presumably Adobe did the same.

Member
Member
kyrd   28-03-2012, 20:17
#16

I am currently investigating with the author of the (imho excellent) software xnview.
can you confirm that you're not using IPTC but XMP?
actually I've been reading through zenphoto's core files and as far as i remember there were (a full array of) mentions of IPTC standard fields, but I'm not expert enough to deny the above assertion.

Member
Member
sbillard   28-03-2012, 21:30
#17

Well, there is a plugin that will support XMP, so if you have it enabled then we are using XMP as well as IPTC. Otherwise, no, we are not using XMP we are using IPTC.

Member
Member
kyrd   28-03-2012, 22:07
#18

aha, I actually do write as well an XMP info when I input data in the IPTC fields. that's a default behaviour of xnview, might be that there is a gap there which overwrites my IPTC data.
in facts I don't know if it's normal that in the XMP data the calle priuli ai cavaleti is filed twice, being instead the sub-location and not the location.
btw I tried to create metadata with no XMP enabled, but appearently nothing changed in this attempt

Member
Member
kyrd   28-03-2012, 22:53
#19

further investigating lead me to this point: the output in zenphoto is still the same, even if I use a fresh IPTC info file with no custom XMP data in it.
here is the link to the page
http://www.indirizzofantasma.net/zenphoto/numeri-civici/69/0069_noxmp_v2.jpg.php
in the description there is the link to the .ipt file

as I say in a previous post, I've noticed that the xmp data (first photo uploaded:http://www.indirizzofantasma.net/zenphoto/numeri-civici/69/0069.jpg.php) have twice the same value calle priuli ai cavaleti in 2 different fields, or am I wrong?

photoshop:Location="calle priuli ai cavaleti"
photoshop:State="VE"
photoshop:Country="Italia"
photoshop:City="Venezia"
photoshop:Headline="69"
Iptc4xmpCore:Location="calle priuli ai cavaleti"

btw that was filled in as sublocation...

Member
Member
sbillard   29-03-2012, 04:00
#20

As I have said previously--the IPTC data that you have is what I quoted. I did not look for XMP data as you sait that it was the IPTC data that was not being displayed. Please note that those two things (IPTC and XMP) are different animals.

If your tool is storing things in XMP then you will need the XMP Metadata plugin to retrieve them.

Pages (3): 1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.