diff --git a/amazon.module b/amazon.module
index c3ff089..a1da7a1 100644
--- a/amazon.module
+++ b/amazon.module
@@ -197,6 +197,7 @@ function template_preprocess_amazon_item(&$variables, $theme_type) {
   // Handle supported image resolutions.
   if (isset($item['imagesets'])) {
     foreach ($item['imagesets'] as $key => $image) {
+      amazon_rewrite_image_for_https($image['url']);
       $variables[$key] = theme('image', array('path' => $image['url'], 'alt' => t('Image of') . ' ' . strip_tags($item['title']), 'title' => strip_tags($item['title']), 'attributes' => array('height' => $image['height'], 'width' => $image['width']), 'getsize' => FALSE));
       $variables["{$key}url"] = check_url($image['url']);
       $variables["{$key}height"] = check_plain($image['height']);
@@ -983,3 +984,17 @@ function amazon_flush_caches() {
 
   return array();
 }
+
+
+function amazon_rewrite_image_for_https(&$image_url) {
+  // Determine if site is being accessed by HTTPS
+  $secure = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? TRUE : FALSE;
+  if ($secure) {
+    // Strip off protocol, and change protocol and domain to point at Amazon's HTTPS image server
+    $url = str_replace('http://', '', $image_url);
+    $url = explode('/', $url);
+    $url[0] = 'https://images-na.ssl-images-amazon.com';
+    $url = implode('/', $url);
+    $image_url = $url;
+  }
+}
\ No newline at end of file
diff --git a/includes/views_handler_field_amazon_image.inc b/includes/views_handler_field_amazon_image.inc
index 51f3b68..7d3c642 100644
--- a/includes/views_handler_field_amazon_image.inc
+++ b/includes/views_handler_field_amazon_image.inc
@@ -93,6 +93,10 @@ class views_handler_field_amazon_image extends views_handler_field {
     if (empty($url)) {
       return;
     }
+    else {
+      require_once(drupal_get_path('module', 'amazon') .'/amazon.module');
+      amazon_rewrite_image_for_https($url);
+    }
     $attributes = array(
       'height' => $this->get_value($values, 'height'),
       'width' => $this->get_value($values, 'width'),
