This commit is contained in:
Shish 2010-07-19 13:35:10 +01:00
parent b1f78d0f33
commit 8a0eda15eb

View File

@ -342,7 +342,9 @@ class Image {
* @retval string * @retval string
*/ */
public function get_mime_type() { public function get_mime_type() {
return "image/".($this->ext); $type = strtolower($this->ext);
if($type == "jpg") $type = "jpeg";
return "image/$type";
} }
/** /**