diff --git a/libraries/transformations/image_jpeg__inline.inc.php3 b/libraries/transformations/image_jpeg__inline.inc.php3
index 9505c26a1..073d1138a 100644
--- a/libraries/transformations/image_jpeg__inline.inc.php3
+++ b/libraries/transformations/image_jpeg__inline.inc.php3
@@ -9,8 +9,7 @@ if (!defined('PMA_TRANSFORMATION_IMAGE_JPEG__INLINE')){
include('./libraries/transformations/global.inc.php3');
if (PMA_IS_GD2) {
- //$transform_options = array ('string' => '
');
- $transform_options = array ('string' => '
');
+ $transform_options = array ('string' => '
');
} else {
$transform_options = array ('string' => '
');
}
diff --git a/transformation_wrapper.php3 b/transformation_wrapper.php3
index 42f6a41be..a0e91f324 100644
--- a/transformation_wrapper.php3
+++ b/transformation_wrapper.php3
@@ -155,8 +155,8 @@ if (!isset($resize)) {
// it sets $resize to 1
$srcImage = imagecreatefromstring($row[urldecode($transform_key)]);
- $newWidth = $suggested_size;
- $newHeight = $suggested_size;
+ //$newWidth = $suggested_size;
+ //$newHeight = $suggested_size;
$srcWidth = ImageSX( $srcImage );
$srcHeight = ImageSY( $srcImage );