fixed a dynamic_output error, and a gdversion bug.
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 239865b..16a23f1 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -449,14 +449,14 @@
 		if ($action == 'crop')

 		{

 			// If the target width/height match the source then it's pointless to crop, right?

-			if ($this->width >= $this->orig_width AND $this->height >= $this->orig_height)

+			// So if dynamic output isn't on, then we'll return true so the user thinks

+			// the process succeeded. It'll be our little secret...

+

+			if ($this->width >= $this->orig_width AND $this->height >= $this->orig_height AND $this->dynamic_output !== TRUE)

 			{

-				// We'll return true so the user thinks the process succeeded.

-				// It'll be our little secret...

-	

 				return TRUE;

 			}

-			

+

 			//  Reassign the source width/height if cropping

 			$this->orig_width  = $this->width;

 			$this->orig_height = $this->height;	

@@ -473,9 +473,7 @@
 			// If the target width/height match the source, AND if

 			// the new file name is not equal to the old file name

 			// we'll simply make a copy of the original with the new name		

-			if (($this->orig_width == $this->width AND $this->orig_height == $this->height) AND ($this->source_image != $this->new_image))

-			

-			

+			if (($this->orig_width == $this->width AND $this->orig_height == $this->height) AND ($this->source_image != $this->new_image))			

 			{

 				if ( ! @copy($this->full_src_path, $this->full_dst_path))

 				{

@@ -499,7 +497,7 @@
 		}

 

 		//  Create The Image

-		if ($this->image_library == 'gd2' AND function_exists('imagecreatetruecolor') AND $v2_override == FALSE)

+		if ($this->image_library == 'gd2' AND function_exists('imagecreatetruecolor'))

 		{

 			$create	= 'imagecreatetruecolor';

 			$copy	= 'imagecopyresampled';