[fix] Image rotation could result in a white screen. [#337]
This commit is contained in:
parent
3dfe477bcd
commit
e680781c0b
1
CHANGES
1
CHANGES
|
@ -13,6 +13,7 @@ For further information about Photo Organizer, see its web site at:
|
|||
[fix] Label/Film/Camera deletion wasn't working.
|
||||
[fix] Localize an overlooked string. [#375]
|
||||
[misc] Unified the permission tests in the export code.
|
||||
[fix] Rotating images could lead to a blank page. [#377]
|
||||
|
||||
2.36 (August 17, 2008)
|
||||
|
||||
|
|
|
@ -2457,15 +2457,13 @@ function po_get_image_size($file) {
|
|||
if ($parts[0] == "Image Height") $height = $parts[1];
|
||||
if ($parts[0] == "Rows") $height = $parts[1];
|
||||
if ($parts[0] == "Columns") $width = $parts[1];
|
||||
print "<!-- XXX $parts[0] : $parts[1] -- $width $height -->\n";
|
||||
#print "<!-- XXX $parts[0] : $parts[1] -- $width $height -->\n";
|
||||
}
|
||||
pclose($handle);
|
||||
} else {
|
||||
print "<!-- it broke.. -->\n";
|
||||
#print "<!-- it broke.. -->\n";
|
||||
}
|
||||
|
||||
print "<!-- it really broke.. -->\n";
|
||||
|
||||
if (!$width || !$height)
|
||||
return getimagesize($file);
|
||||
|
||||
|
|
Loading…
Reference in New Issue