![]() |
|
EXIFIER - SONY Maker Tags - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: EXIFIER - SONY Maker Tags (/thread-4620.html) |
EXIFIER - SONY Maker Tags - linuxq - 2009-02-04 Hi, I´va been looking for a gallery for my pictures and found zenphoto. I am always interested in which Lens I did use for which Photo and want to make it conventient :-) Thus I want to adopt Exifier to get Sony/Minolta Lens ID-Support. I know that the information is in the maker tags of sony as an integer (i32u) and I found a table to relate the integer to "plan text": http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Sony.html I did never write php-scripts but i am familiar with Basic, Pascal and a bit C++ thus the basics of code writing are there for me. Anything else I need to know, I will probably find out. [B]First step:[/B] (I guess) Modify exif.php as you can see below: [quote]# require_once(dirname(FILE) . '/makers/canon.php'); parseCanon($data,$result,$seek,$globalOffset); $result[$ifd_name]['KnownMaker'] = 1; ADD SONY AS MAKER} else if(eregi("SONY",$make)) { require_once(dirname(FILE) . '/makers/sony.php'); parseSony($data,$result,$seek,$globalOffset); $result[$ifd_name]['KnownMaker'] = 1; ADD SONY AS MAKER} else if(eregi("FUJIFILM",$make)) { Now I should be able to write a [B]makers/sony.php[/B] and try it! Or am I wrong? Did anyone ever try this? Thanks in advance! Marcel (LinuxQ) EXIFIER - SONY Maker Tags - linuxq - 2009-02-05 Hi tried the following yesterday. Just to test if my thoughts are right I did:
The result is, that when uploading is done, the browser shows a white page and stop. Nothing is uploaded. What is the problem? Thanks in Advance. LinuxQ |