Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix #645: thumbnail generation for JPEG images fail with latest PHP v…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
Max Ruman committed Sep 21, 2014
1 parent e830750 commit 73249f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/editor.diaporama/PThumb.lib.php
Expand Up @@ -581,7 +581,7 @@ function print_thumbnail($image,$width,$height,$return_img = false, $display_inl
$outputed = @imagegif($thumbnail);
break;
case 2:
$outputed = @imageJPEG($thumbnail,'',100);
$outputed = @imageJPEG($thumbnail,null,100);
break;
case 3:
$outputed = @imagepng($thumbnail);
Expand Down

0 comments on commit 73249f9

Please sign in to comment.