From 55efc227eaeb2d480ff22837b78f89766b07fe5f Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 24 Jul 2005 13:55:40 +0200 Subject: first step in Image metadata support This adds a detail page for images, for JPEG files additional metadata from EXIF and IPTC fields is shown darcs-hash:20050724115540-7ad00-926601cd12a990e041943edc616360d8179d6c9f.gz --- lib/exe/detail.php | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lib/exe/detail.php (limited to 'lib/exe/detail.php') diff --git a/lib/exe/detail.php b/lib/exe/detail.php new file mode 100644 index 000000000..1c676323f --- /dev/null +++ b/lib/exe/detail.php @@ -0,0 +1,47 @@ += AUTH_READ){ + // check if image exists + $SRC = mediaFN($IMG); + if(!file_exists($SRC)){ + //doesn't exist! + + } + }else{ + // no auth + $ERROR = p_locale_xhtml('denied'); + } + + /*if(!$ERROR){ + // load EXIF/IPTC/image details + $INFO = array(); + $INFO['std'][''] + imagesize + }*/ + + + //start output and load template + header('Content-Type: text/html; charset=utf-8'); + include(DOKU_INC.'lib/tpl/'.$conf['template'].'/detail.php'); + + //restore old umask + umask($conf['oldumask']); + +?> -- cgit v1.2.3