|
@ -788,7 +788,7 @@ if (isset($_POST['delete'])) { |
|
|
$file['thumbheight'] = $size[1]; |
|
|
$file['thumbheight'] = $size[1]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ($config['tesseract_ocr']) { // Let's OCR it! |
|
|
if ($config['tesseract_ocr'] && $file['thumb'] != 'file') { // Let's OCR it! |
|
|
$fname = $file['tmp_name']; |
|
|
$fname = $file['tmp_name']; |
|
|
|
|
|
|
|
|
if ($file['height'] > 500 || $file['width'] > 500) { |
|
|
if ($file['height'] > 500 || $file['width'] > 500) { |
|
|