my mistake review last commit fix show jpeg not save jpeg

skala
Juan Carlos Raña 13 years ago
parent 1a22d12287
commit f6e463cbea
  1. 6
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/class.image.php

@ -220,9 +220,6 @@ class ImageAjaxFileManager
case 'jpg': case 'jpg':
$saved = $func($this->_imgFinal, $filename, $quality); $saved = $func($this->_imgFinal, $filename, $quality);
break; break;
case 'jpeg':
$saved = $func($this->_imgFinal, $filename, $quality);//hack for Chamilo fix thumbnail of jpeg files
break;
} }
if ($saved === false) if ($saved === false)
@ -276,6 +273,9 @@ class ImageAjaxFileManager
break; break;
case 'jpg': case 'jpg':
$func($this->_imgFinal, '', $quality); $func($this->_imgFinal, '', $quality);
break;
case 'jpeg':
$func($this->_imgFinal, '', $quality);
break; break;
} }
return true; return true;

Loading…
Cancel
Save