mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
resize image updated, fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user