Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tomac

Pages: [1]
1
Hi,
I've done a little mod for inserting the images when checking for new files; now the EXIF field date is read, and then the correct date is inserted for the image:

checkimages.php, line 117:
        $exif = read_exif_data ("/var/www/4images/data/media/".$cat_id."/".$image_media_file);
        if ($exif) {
          ereg("([0-9]{4}):([0-9]{2}):([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})", $exif["DateTime"], $mio);
          $image_date = mktime($mio[4],$mio[5],$mio[6],$mio[2],$mio[3],$mio[1]);        }

Pages: [1]