diff --git a/types/acidfree_image/acidfree_image.module b/types/acidfree_image/acidfree_image.module
index e812111..631b100 100644
--- a/types/acidfree_image/acidfree_image.module
+++ b/types/acidfree_image/acidfree_image.module
@@ -69,11 +69,13 @@ function acidfree_image_theme() {
  * which is what the $node was built from.
  */
 function acidfree_import_image($node, $file) {
-    $rotate = $node->body['#post']['rotate'];
-    if ($node->rotate != 0 || $node->rotate == 'auto') {
-        $ret = acidfree_rotate_image($file->filepath, $rotate);
-        if (!$ret) {
-            drupal_set_message('Image rotation failed.','warning');
+    if (isset($node->body['#post']['rotate'])) {
+        $rotate = $node->body['#post']['rotate'];
+        if ($node->rotate != 0 || $node->rotate == 'auto') {
+            $ret = acidfree_rotate_image($file->filepath, $rotate);
+            if (!$ret) {
+                drupal_set_message('Image rotation failed.','warning');
+            }
         }
     }
     $node = image_create_node_from($file->filepath, $node->title, '', $node->taxonomy);
