Quote:
Originally Posted by acmalin927
any way to remove the
Camera Make
Camera Model
Aperture
ISO
Image Date
from the edit section?
I simply don't need it for the type of photos my members update...
THANKS
|
Found it, to remove this info from the display
go to file /dbtech/gallery/modules/gallery/actions/view_image.php
From Approx Line Number 374 to 406 and remove the code below
Cheers
Code:
//Get Image exif data
$cam_info_array = unserialize($image_data['custom_data']);
if ($cam_info_array['Make'] != '')
{
$camera_info['make'] = $cam_info_array['Make'];
}
if ($cam_info_array['Model'] != '')
{
$camera_info['model'] = $cam_info_array['Model'];
}
if ($cam_info_array['aperture'] != '')
{
$camera_info['aperture'] = $cam_info_array['aperture'];
}
if ($cam_info_array['ISO'] != '')
{
$camera_info['iso'] = $cam_info_array['ISO'];
}
if ($cam_info_array['DateTime'] != '')
{
$unix_date = strtotime($cam_info_array['DateTime']);
$camera_info['cam_date'] = vbdate($vbulletin->options['dateformat'], $unix_date, true) . ' ' . vbdate($vbulletin->options['timeformat'], $unix_date, true);
}
$templater = vB_Template::create('dbtech_gallery_view_image_cam_info');
$templater->register('camera_info' , $camera_info);
$templater->register('template_hook' , $template_hook);
$cam_info_data = $templater->render();