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

Loading…
Cancel
Save