Photo::getType() now uses the accurate Imagick::getImageMimeType()
This commit is contained in:
parent
f723f756fd
commit
5d0bd98d2a
1 changed files with 1 additions and 2 deletions
|
@ -124,8 +124,7 @@ class Photo {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if($this->is_imagick()) {
|
if($this->is_imagick()) {
|
||||||
// This should do the trick (see supportedTypes above)
|
return $this->image->getImageMimeType();
|
||||||
return 'image/'. $this->getExt();
|
|
||||||
}
|
}
|
||||||
return $this->type;
|
return $this->type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue