File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/*
3
- * jQuery File Upload Plugin PHP Class 6.11.0
3
+ * jQuery File Upload Plugin PHP Class 6.11.1
4
4
* https://github.com/blueimp/jQuery-File-Upload
5
5
*
6
6
* Copyright 2010, Sebastian Tschan
@@ -689,12 +689,13 @@ protected function gd_orient_image($file_path) {
689
689
protected function imagick_get_image_object ($ file_path , $ no_cache = false ) {
690
690
if (empty ($ this ->image_objects [$ file_path ]) || $ no_cache ) {
691
691
$ this ->imagick_destroy_image_object ($ file_path );
692
- $ image = new Imagick ($ file_path );
692
+ $ image = new Imagick ();
693
693
if (!empty ($ this ->options ['imagick_resource_limits ' ])) {
694
694
foreach ($ this ->options ['imagick_resource_limits ' ] as $ type => $ limit ) {
695
695
$ image ->setResourceLimit ($ type , $ limit );
696
696
}
697
697
}
698
+ $ image ->readImage ($ file_path );
698
699
$ this ->image_objects [$ file_path ] = $ image ;
699
700
}
700
701
return $ this ->image_objects [$ file_path ];
You can’t perform that action at this time.
0 commit comments