/** * 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(); }
function showScore() { $item = rsgInstance::getItem(); $id = $item->id; require_once JPATH_RSGALLERY2_SITE . '/lib/rsgvoting/tmpl/result.php'; }
/** * Show description */ function _showDescription() { global $rsgConfig; $item = rsgInstance::getItem(); if ($rsgConfig->get('displayHits')) { ?> <p class="rsg2_hits"><?php echo JText::_('Hits'); ?> <span><?php echo $item->hits; ?> </span></p> <?php } if ($item->descr) { ?> <p class="rsg2_description"><?php echo stripslashes($item->descr); ?> </p> <?php } }