*/
public function get_meta_informations($file)
{
- return exif_read_data($file);
+ return @exif_read_data($file);
} // get_meta_informations()
pt.tag_id LIKE '". $tagidx ."'
";
- if(isset($this->cfg->show_tags) && !empty($this->cfg->show_tags)) {
+ /*if(isset($this->cfg->show_tags) && !empty($this->cfg->show_tags)) {
$query_str.= "
AND
t.name IN ('".implode("','",$this->cfg->show_tags)."')
";
- }
+ }*/
$result = $this->db->db_query($query_str);
*/
public function get_mime_info($file)
{
- $details = getimagesize($orig_image);
+ $details = getimagesize($file);
/* if getimagesize() returns empty, try at least to find out the
mime type.