Author Topic: [Mod] EXIF 0.3  (Read 348384 times)

0 Members and 1 Guest are viewing this topic.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] EXIF 0.3
« Reply #225 on: December 12, 2006, 07:26:38 PM »
... die Darstellung der lon/lat-Werte in deiner Version erfolgt (so wie in der ExifInfo gespeichert) in AltGrad ...
... d.h. z.B.: N 48°  8.99'  0''  (Grad/Minuten/Sekunden ... AltGrad) ...
... für die Weiterverwendung dieser Daten z.B. in Google Maps benötigt man sie aber in NeuGrad (dezimal) ...
... d.h. z.B.: N 48.1498333333 (NeuGrad) ...
... die Daten müssen dann also noch dementsprechend umgerechnet werden ...
... und das funktioniert nun bestens, zu testen hier ...
« Last Edit: July 10, 2007, 10:41:05 PM by mawenzi »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Rembrandt

  • Guest
Re: [Mod] EXIF 0.3
« Reply #226 on: December 12, 2006, 08:57:59 PM »
Abend!

na sieht doch super aus, vielleicht wird ja aus dem alten Exif mod doch noch etwas.
das werd ich mir auch gleich mal einbinden  :)

DANKE!

das nächste was ich in angriff nehme will sind die "MakerNotes"

mfg Andi

Offline Phil87

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [Mod] EXIF 0.3
« Reply #227 on: December 16, 2006, 03:19:01 PM »
Hallo!
Ich benutze auch den EXIF-Mod, allerdings mit der Version 1.7.3 und da EXIF Dateien schon standarisiert sind, werden manchen Werte doppelt angezeigt,
siehe Screenshot hier: http://www.4homepages.de/forum/index.php?topic=15847.0

Wie bekomm ich die Doppelten weg?

Hab auch schon probiert das hier aus der functions.php zu löschen:

Code: [Select]
function get_exif_info($exif) {
  $exif_match = array();
  $exif_match['Make'] = "make";
  $exif_match['Model'] = "model";
  $exif_match['DateTimeOriginal'] = "datetime";
  $exif_match['ISOSpeedRatings'] = "isospeed";
  $exif_match['ExposureTime'] = "exposure";
  $exif_match['FNumber'] = "aperture";
  $exif_match['FocalLength'] = "focallen";

  $exif_array = array();
  if (is_array($exif)) {
    foreach ($exif as $key => $val) {
      if (isset($exif_match[$key])) {
        $exif_info = $val;
        if ($key == "DateTimeOriginal") {
          $exif_array[$exif_match[$key]] = preg_replace("/([0-9]{4}):([0-9]{2}):([0-9]{2})/", "\\3.\\2.\\1", $exif_info);
        }
        elseif ($key == "ExposureTime") {
  $exposure = explode("/", $exif_info);
          $exif_array[$exif_match[$key]] = "1/" . ($exposure[1] / $exposure[0]);
        }
        elseif ($key == "FNumber") {
  $aperture = explode("/", $exif_info);
          $exif_array[$exif_match[$key]] = "F/" . ($aperture[0] / $aperture[1]);
        }
        elseif ($key == "FocalLength") {
  $focalLen = explode("/", $exif_info);
          $exif_array[$exif_match[$key]] = ($focalLen[0] / $focalLen[1]) . "mm";
        }
        else {
          $exif_array[$exif_match[$key]] = $exif_info;
        }
      }
    }
  }
  return $exif_array;
}

dann ging aber gar nix mehr :lol:

EDIT: und wie ist es eigentl. möglich in der exif.php Informationen zuzufügen und auszuschliesen? z. B. Info über den Kamerahersteller

Gruß
Phil
« Last Edit: December 16, 2006, 04:30:04 PM by Phil87 »

Rembrandt

  • Guest
Re: [Mod] EXIF 0.3
« Reply #228 on: December 16, 2006, 08:00:08 PM »
Abend!

schau dir mal die zeile 504 ,524 an da steht auch noch was drinnen.

wenn du aber sagst das danach gar nichts mehr angezeigt wurde, dann funktioniert ja der exif mod bei dir nicht.

zu exif.php, dort hast du ja die filter funktion.

mfg Andi

Offline Phil87

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [Mod] EXIF 0.3
« Reply #229 on: December 16, 2006, 08:02:49 PM »
Hallo!
Doch der Mod geht, hab's geschafft das Problem selbst zu lösen.
Trotzdem danke!

Gruß
Phil

Offline COMmander

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [Mod] EXIF 0.3
« Reply #230 on: February 13, 2007, 03:14:56 PM »
Hallo,

habe den EXIF 0.3 MOD mit der GPS-Erweiterung auf eine 1.7.4 gespult.


Folgendes Problem:

Bei einigen Bildern werden EXIF und enthaltene GPS-Daten korrekt angezeigt.
Bei anderen erhalte ich eine Fehlermeldung und das EXIF-Feld bleibt komplett leer.

Beispiele:


korrekt:


Anzeige EXIF:
Quote
EXIF Info
ImageDescription:   2007-01-24_13-50-46_063.jpg
Kamera Hersteller:   Canon
Kamera-Modell:   Canon DIGITAL IXUS 750
Ausrichtung:   Normal
XResolution:   1800000/10000
YResolution:   1800000/10000
Auflösungseinheit:   Inch
Software:   RoboGEO v5.0.12
Bearbeitet am:   25.01.2007 - 07:14:27 Uhr
YCbCrPositionierung:   Pixel Array
Exif_IFD_Pointer:   158
GPS_IFD_Pointer:   512
Belichtungszeit:   1/160 Sekunde
Blende:   F/3.5
Exif Version:   2.21
Aufnahme Datum und Zeit:   24.01.2007 - 13:50:47 Uhr
Digitalisiert am:   24.01.2007 - 13:50:47 Uhr
Komponentenkonfiguration:   YCbCr
Komprimierte Bits pro Pixel:   5
Verschlussgeschwindigkeit:   1/159 Sekunden
Blendenöffnungswert:   F/3.6
Belichtungsabweichung:   0 EV
Maximaler Blendenöffnungswert:   F/3.5
Belichtungsmessung:   Multi-Segment
Blitz:   Blitz nicht ausgelöst
Brennweite (Objektiv):   13 mm
FlashPix-Version:   1
Farbraum:   sRGB
ExifImageWidth:   800
ExifImageLength:   600
InteroperabilityOffset:   880
X Auflösung der Brennebene:   10817
Y Auflösung der Brennebene:   10817
Auflösungseinheit der Brennebene:   Inch
Sensor Type:   1 chip color area sensor
Datei Quelle:   Digital still camera
CustomRendered:   Normal
Belichtungsmodus:   Automatisch
Weißabgleich:   Automatisch
DigitalZoomRatio:   3072/3072
SceneCaptureType:   Standard
GPSVersion:   


Fehler


Fehlermeldungen bei details.htm:
Quote
Warning: exif_read_data(2007-01-31_15-25-42_055.jpg): illegal IFD offset in xxx/includes/functions.php on line 530

Warning: exif_read_data(2007-01-31_15-25-42_055.jpg): illegal IFD offset in xxx/includes/functions.php on line 533


functions.php
Zeile 530:
Quote
        $exif = exif_read_data($media_src,'IFD0');
Zeile 533:
Quote
          $exif = exif_read_data($media_src,0,true);

EXIF-Ausgabe:
Quote
EXIF Info
Kamera Hersteller:   
Kamera-Modell:   
Ausrichtung:   
XResolution:   
YResolution:   
Auflösungseinheit:   
Software:   
Bearbeitet am:   
YCbCrPositionierung:   
Exif_IFD_Pointer:   
GPS_IFD_Pointer:   
Belichtungszeit:   
Blende:   
Exif Version:   
Aufnahme Datum und Zeit:   
Digitalisiert am:   
Komponentenkonfiguration:   
Komprimierte Bits pro Pixel:   
Verschlussgeschwindigkeit:   
Blendenöffnungswert:   
Belichtungsabweichung:   
Maximaler Blendenöffnungswert:   
Belichtungsmessung:   
Blitz:   
Brennweite (Objektiv):   
MakerNote:   
FlashPix-Version:   
Farbraum:   
ExifImageWidth:   
ExifImageLength:   
InteroperabilityOffset:   
X Auflösung der Brennebene:   
Y Auflösung der Brennebene:   
Auflösungseinheit der Brennebene:   
Sensor Type:   
Datei Quelle:   
CustomRendered:   
Belichtungsmodus:   
Weißabgleich:   
DigitalZoomRatio:   
SceneCaptureType:   
GPSVersion:   
GPS Breitengrad:   
Koordinate:   
GPS Längengrad:   
Koordinate:   
GPSAltitudeRef:   
GPSAltitude:   
GPS Uhrzeit:   
GPS Kartendatum:   
GPS Datum:   
Hersteller:   
Modell:   
Belichtungszeit:   
Blende:   
Aufnahmedatum:   
Brennweite:


EDIT: Bilddateien entfernt (beim Kleinrechnen gingen die EXIF-Infos verloren)
« Last Edit: February 14, 2007, 08:14:34 AM by COMmander »

Offline COMmander

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [Mod] EXIF 0.3
« Reply #231 on: February 13, 2007, 03:44:16 PM »
Quote
... die Daten müssen also wie folgt umgerechnet werden ...

Quote
Degrees Minutes Seconds to Degrees Minutes.m
Degrees = Degrees
Minutes.m = Minutes + (Seconds / 60)
...
Degrees Minutes.m to Decimal Degrees
.d = M.m / 60
Decimal Degrees = Degrees + .d


Hi Mawenzi,

verrätst Du, WO und mit welchem Code Du diese Umrechnung realisierst?

Grüße
COMmander

Rembrandt

  • Guest
Re: [Mod] EXIF 0.3
« Reply #232 on: February 13, 2007, 07:59:10 PM »
Âbend!

Quote
verrätst Du, WO und mit welchem Code Du diese Umrechnung realisierst?

in der exif.php

hast du auch die exif version die schon in der 1.7.4 enthalten ist rausgelöscht?
das mußt du auf jeden fall machen.

ausserdem sind in deinen beispielbilder entweder keine, oder fehlerhafte exif einträge.

EDIT: ahh habs überlesen, es funktioniert eh bei dir bis auf diese beiden beispielbilder.

mfg Andi

Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [Mod] EXIF 0.3
« Reply #233 on: March 19, 2007, 03:53:54 PM »
How do I add/remove some of the information displayed? There were some German posts but I could not understand them.

I am running this on 1.7 and it seems to work fine.
 however it is not displaying "Date Picture Taken" information from the picture. It only shows the date I added the picture under 4images details.

How can I add "Date Picture Taken" attribute to the list? I tried so search for Date in this topic, but could not see anything.
Yes, my pictures carry this attribute on them, but it is not being displayed.

The field for this is "DateTimeOriginal" or "DateOriginal" I think.

Any help is appreciated.
Thank You


Please Vote for my site: Here

Offline vchavez

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.fotografo.ws/
Re: [Mod] EXIF 0.3
« Reply #234 on: March 21, 2007, 06:32:05 PM »
I want to create my gallery similar to wireimage.com can this be done with this Mod ?

Need help to add the Exif fields only:    Header, Description, Date, Place, Photographer.

Any idea of how to do this for my 4images homepage, then 4images thumbnails and for the 4images details page ?. Any example please?


Thanks.
Victor Chavez - Concert Photography
http://www.fotografo.ws/

Offline vchavez

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.fotografo.ws/
Re: [Mod] EXIF 0.3
« Reply #235 on: March 21, 2007, 06:59:31 PM »
« Last Edit: March 21, 2007, 08:08:18 PM by kai »
Victor Chavez - Concert Photography
http://www.fotografo.ws/

Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [Mod] EXIF 0.3
« Reply #236 on: March 21, 2007, 07:22:00 PM »
What you are asking about is THEME/TEMPLATE related, not EXIF MOD related.
If you can use the same template, you can put Exif info anywhere you want in that templete.
PLUS, the portion where you say "Photo Exif Info" is not exif information, it is just customized file information, which you can possibly achieve by modifying 4images db fields for image attributes (date/time/download/file name/ etc..) so you can add them when you upload the image.

Please Vote for my site: Here

Rembrandt

  • Guest
Re: [Mod] EXIF 0.3
« Reply #237 on: March 21, 2007, 07:23:14 PM »
Tag!
For example:


infringement of a copyright?!?!

mfg Andi

Offline vchavez

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.fotografo.ws/
Re: [Mod] EXIF 0.3
« Reply #238 on: March 21, 2007, 08:03:57 PM »
Photo Exif Info it will be the fields in the Metada info like: IPTC Image, IPTC Creator, IPTC Content, IPTC Status
so all that info is in the JPG Exif
What you are asking about is THEME/TEMPLATE related, not EXIF MOD related.
If you can use the same template, you can put Exif info anywhere you want in that templete.
PLUS, the portion where you say "Photo Exif Info" is not exif information, it is just customized file information, which you can possibly achieve by modifying 4images db fields for image attributes (date/time/download/file name/ etc..) so you can add them when you upload the image.

Im not asking about the template design but exif info how to integrate it to the template and If can be done selecting just some fields.

If you said it's not "Photo Exif Info" is not exif information so it must be Metada info? all that can be embedded in the JPG file using
Adobe Bridge or Adobe Lightroom.
Victor Chavez - Concert Photography
http://www.fotografo.ws/

Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [Mod] EXIF 0.3
« Reply #239 on: March 21, 2007, 08:16:45 PM »
Caption, headline, venue, location, etc..
I don't think you can add these to exif.


you just have to modify 4images to add these attributes to DB along with whatever else you want to be there, you would include these when you upload the pix. Just like you would specify name, details, keywords, etc..


Please Vote for my site: Here