resize image updated, fixes

This commit is contained in:
Dmitry (dio) Levashov
2011-07-26 00:42:11 +04:00
parent 52ad09ebc7
commit 96a4539181
12 changed files with 106 additions and 62 deletions
@@ -369,6 +369,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
* @author Dmitry (dio) Levashov
**/
protected function _dimensions($path, $mime) {
clearstatcache();
return strpos($mime, 'image') === 0 && ($s = @getimagesize($path)) !== false
? $s[0].'x'.$s[1]
: false;