Uploading keywords

maxxer

Joined: 2006-05-08
Posts: 5
Posted: Thu, 2007-10-18 12:01

hi
I'm having trouble uploading keywords along with the picture on G2.

I've added a command "extrafield.keywords" with a comma separated, quoted enclosed list of keywords (like: "key 1","key 2").

Is this correct?
Should it work this way?

Thanks

 
maxxer

Joined: 2006-05-08
Posts: 5
Posted: Thu, 2007-10-18 16:54

I found out that Gallery doesn't like quotes so much, so I removed them. But yet no success.
I've sniffed http traffic, and I see the request correctly passing by.

I'm using the latest Gallery2 with remote 1.0.9.

 
fweeee

Joined: 2006-12-16
Posts: 46
Posted: Fri, 2007-10-19 00:22

I dont think that you can update keywords can be updated via the API. Believe me, I have tried and tried (Made a post about it at http://gallery.menalto.com/node/65242). I think the extrafield thing only works for specific fields - I have gotten it working for Summary and Description.

I have created a feature request for this - feature 1731771. Please go and vote for it.

But I think this is a moot point anyway - from what I understand, keywords are set to be replaced by tags (which also dont have an API).

--EDIT--
Just done a little research. Gallery2 does read information from the tags IPTC information (I tested this by using an IPTC editor and uploading). So if you can modify your script to update the IPTC data before uploading (maybe save the picture to a temporary location, then modify the temporary photo), this should update keywords.

I'm thinking I might do this to Pix2Gallery2 when I have some time.

 
maxxer

Joined: 2006-05-08
Posts: 5
Posted: Fri, 2007-10-19 06:35

I've found this thread!

http://gallery.menalto.com/node/60370