Commit 48fcb7afd4ee82aceac304016ecd91f985684355
1 parent
9e1cf05c
removed php5-imagemagick reference
Showing
1 changed file
with
5 additions
and
5 deletions
plugins/thumbnails/thumbnails.php
| @@ -167,14 +167,14 @@ class thumbnailGenerator extends BaseProcessor | @@ -167,14 +167,14 @@ class thumbnailGenerator extends BaseProcessor | ||
| 167 | @unlink($thumbnailfile); | 167 | @unlink($thumbnailfile); |
| 168 | } | 168 | } |
| 169 | // do generation | 169 | // do generation |
| 170 | - if (extension_loaded('imagick')) { | 170 | + // if (extension_loaded('imagick')) { |
| 171 | $pathConvert = (!empty($default->convertPath)) ? $default->convertPath : 'convert'; | 171 | $pathConvert = (!empty($default->convertPath)) ? $default->convertPath : 'convert'; |
| 172 | $result = shell_exec("{$pathConvert} -size 200x200 {$pdfFile}[0] -resize 200x200 $thumbnailfile"); | 172 | $result = shell_exec("{$pathConvert} -size 200x200 {$pdfFile}[0] -resize 200x200 $thumbnailfile"); |
| 173 | return true; | 173 | return true; |
| 174 | - }else{ | ||
| 175 | - $default->log->debug('Thumbnail Generator Plugin: Imagemagick not installed, cannot generate a thumbnail'); | ||
| 176 | - return false; | ||
| 177 | - } | 174 | + //}else{ |
| 175 | + //$default->log->debug('Thumbnail Generator Plugin: Imagemagick not installed, cannot generate a thumbnail'); | ||
| 176 | + // return false; | ||
| 177 | + //} | ||
| 178 | 178 | ||
| 179 | } | 179 | } |
| 180 | } | 180 | } |