diff --git a/twitfaves.module b/twitfaves.module
index aba8c6d..57e595f 100755
--- a/twitfaves.module
+++ b/twitfaves.module
@@ -178,6 +178,9 @@ function _twitfaves_extract($tweet, $filter) {
     $formattedTweet->image_url = $info['dirname'] . '/' . $info['filename'] . '.' . $info['extension'];
   }
 
+  // Convert the image to be a protocol-relative URL.
+  $formattedTweet->image_url = preg_replace('/^https?:/', '', $formattedTweet->image_url);
+
   // Make crawlers not to follow links and open then in new windows.
   $formattedTweet->text = _twitter_filter_link($formattedTweet->text, $filter);
 
