/** * Provides unformatted EXIF data for the current item * @result Array with EXIF values */ function _showEXIF() { require_once JPATH_ROOT . "/components/com_rsgallery2/lib/exifreader/exifReader.php"; $image = rsgInstance::getItem(); $filename = JPATH_ROOT . $image->original->name; $exif = new phpExifReader($filename); $exif->showFormattedEXIF(); }