Nikon D50 D70 D70s D100 D200 store the lens data with the picture.
How can I extract this information, and view it under the EXIF/IPTC information in Gallery2 ?
3. modify appropriate .po files and make them to see changes in gallery
OESRules
Joined: 2006-04-06
Posts: 2
Posted: Mon, 2007-05-28 14:24
Hi !
Thanks for your answer, I will try this !
I'm not a programmer, and I don't know the Gallery application as good as I would like too.
What changes do you mean when you say "modify appropriate .po files" ?
//
pavel.pola
Joined: 2007-05-19
Posts: 30
Posted: Mon, 2007-05-28 14:38
.po files includes localized messages. We have added localized string "Lens Info". So if you are satisfied with the text "Lens Info", you need not to change anything. But if you need to translate it, you must add lines
into appropriate .po file (located under /modules/exif/po directory).
After you make this change, you need to call "make install PO=xx", where xx is the name (without an extension) of changed file.
In my case, I have changes cs.po, so I need to call "make install PO=cs".
And sorry for my previous posts, there are encoded HTML entities, so you need to replace them in PHP, otherwise you get syntax errors... ;-(((
I have also encountered, that for some reason this doesn't work on all EXIF informations. My Nikon D200 is producing some EXIFs, which I cannot decode using this version of exif plugin. The problem is somewhere in detection of type Intel/Motorola Endian which in some cases goes wrong and I don't know why...
albertolavolpe
Joined: 2007-05-24
Posts: 4
Posted: Mon, 2007-05-28 15:34
pavel.pola wrote:
I had the same problem and I think I've solved it. You need to modify some files to get basic lens information from the EXIF.
1. modify /modules/exif/lib/exifer/makers/nikon.inc - find and modify formatNikonData function
function formatNikonData($type,$tag,$intel,$model,$data) {
Posts: 30
I had the same problem and I think I've solved it. You need to modify some files to get basic lens information from the EXIF.
1. modify /modules/exif/lib/exifer/makers/nikon.inc - find and modify formatNikonData function
2. modify /modules/exif/classes/ExifHelper.class - find and modify getExifKeys functions
3. modify appropriate .po files and make them to see changes in gallery
Posts: 2
Hi !
Thanks for your answer, I will try this !
I'm not a programmer, and I don't know the Gallery application as good as I would like too.
What changes do you mean when you say "modify appropriate .po files" ?
//
Posts: 30
.po files includes localized messages. We have added localized string "Lens Info". So if you are satisfied with the text "Lens Info", you need not to change anything. But if you need to translate it, you must add lines
msgid "Lens Info"
msgstr "Your translation goes here"
into appropriate .po file (located under /modules/exif/po directory).
After you make this change, you need to call "make install PO=xx", where xx is the name (without an extension) of changed file.
In my case, I have changes cs.po, so I need to call "make install PO=cs".
And sorry for my previous posts, there are encoded HTML entities, so you need to replace them in PHP, otherwise you get syntax errors... ;-(((
I have also encountered, that for some reason this doesn't work on all EXIF informations. My Nikon D200 is producing some EXIFs, which I cannot decode using this version of exif plugin. The problem is somewhere in detection of type Intel/Motorola Endian which in some cases goes wrong and I don't know why...
Posts: 4
That didn't work for me. Or maybe I'm doing something wrong. Can you explain it for dummies like me?
[img]http://www.paestarporaqui.com/images/TgC_emoticon28.gif[/img] Thanks
Posts: 2
Hi guys
it doesn't work for me neither...
When I am opening a Nikon picture, the EXIF section seems to hang and is not displayed
Please help!
Posts: 16504
This is an old thread. Please start a new thread and post your information:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 27300
Comments are now permitted for this topic.
Posts: 71
the pavel.pola code didn't work because some characters are not correct.
replace :
&& with &&
> with >
tested, and work ok.