Index: twitter/tweet.tpl.php
===================================================================
--- twitter/tweet.tpl.php	(revision 201)
+++ twitter/tweet.tpl.php	(working copy)
@@ -9,7 +9,7 @@
   <div class="avatar">
     <a alt="<?php print $author->name; ?>" title="<?php print $author->name; ?>" href=
     "https://twitter.com/<?php print $author->screen_name; ?>"><img src=
-    "<?php print $author->profile_image_url; ?>"></a>
+    "<?php print $author->profile_image_url_https; ?>"></a>
   </div>
 
   <div class="timestamp">
Index: twitter/twitter.install
===================================================================
--- twitter/twitter.install	(revision 201)
+++ twitter/twitter.install	(working copy)
@@ -197,6 +197,11 @@
         'type' => 'varchar',
         'length' => 255,
       ),
+      'profile_image_url_https' => array(
+        'description' => "The url of the {twitter_account}'s profile image.",
+        'type' => 'varchar',
+        'length' => 255,
+      ),
       'protected' => array(
         'description' => "Boolean flag indicating whether the {twitter_account}'s posts are publicly accessible.",
         'type' => 'int',
@@ -244,6 +249,11 @@
         'type' => 'varchar',
         'length' => 255,
       ),
+      'profile_background_image_url_https' => array(
+        'description' => "The url of the {twitter_account}'s profile image.",
+        'type' => 'varchar',
+        'length' => 255,
+      ),
       'profile_background_tile' => array(
         'description' => "Boolean indicating if a user's background is tiled.",
         'type' => 'int',
@@ -427,3 +437,22 @@
     db_change_field('twitter_account', 'added_by_uid', 'uid', $spec);
   }
 }
+
+/**
+ * Adds https versions of profile_image and background_image to twitter_account table
+ */
+function twitter_update_7501() {
+  $data = array(
+    'description' => "The url of the {twitter_account}'s profile image.",
+    'type' => 'varchar',
+    'length' => 255,
+  );
+  db_add_field('twitter_account', 'profile_image_url_https', $data);
+            
+  $data = array(
+    'description' => "The url of the {twitter_account}'s background image.",
+    'type' => 'varchar',
+    'length' => 255,  
+  );
+  db_add_field('twitter_account', 'profile_background_image_url_https', $data);
+}
Index: twitter/twitter.lib.php
===================================================================
--- twitter/twitter.lib.php	(revision 201)
+++ twitter/twitter.lib.php	(working copy)
@@ -1308,6 +1308,8 @@
   public $protected;
 
   public $profile_image_url;
+  
+  public $profile_image_url_https;
 
   public $profile_background_color;
 
@@ -1320,6 +1322,8 @@
   public $profile_sidebar_border_color;
 
   public $profile_background_image_url;
+  
+  public $profile_background_image_url_https;
 
   public $profile_background_tile;
 
@@ -1350,12 +1354,14 @@
     $this->favourites_count = $values['favourites_count'];
     $this->protected = $values['protected'];
     $this->profile_image_url = $values['profile_image_url'];
+    $this->profile_image_url_https = $values['profile_image_url_https'];
     $this->profile_background_color = $values['profile_background_color'];
     $this->profile_text_color = $values['profile_text_color'];
     $this->profile_link_color = $values['profile_link_color'];
     $this->profile_sidebar_fill_color = $values['profile_sidebar_fill_color'];
     $this->profile_sidebar_border_color = $values['profile_sidebar_border_color'];
     $this->profile_background_image_url = $values['profile_background_image_url'];
+    $this->profile_background_image_url_https = $values['profile_background_image_url_https'];
     $this->profile_background_tile = $values['profile_background_tile'];
     $this->verified = $values['verified'];
     $this->created_at = $values['created_at'];
Index: twitter/twitter.pages.inc
===================================================================
--- twitter/twitter.pages.inc	(revision 201)
+++ twitter/twitter.pages.inc	(working copy)
@@ -178,7 +178,7 @@
   );
 
   $form['image'] = array(
-    '#markup' => theme('image', array('path' => $account->profile_image_url)),
+    '#markup' => theme('image', array('path' => $account->profile_image_url_https)),
   );
 
   $form['visible_name'] = array(
Index: twitter/twitter.views.inc
===================================================================
--- twitter/twitter.views.inc	(revision 201)
+++ twitter/twitter.views.inc	(working copy)
@@ -268,7 +268,7 @@
   );
 
   // Twitter account profile image
-  $data['twitter_account']['profile_image_url'] = array(
+  $data['twitter_account']['profile_image_url_https'] = array(
     'title' => t('Profile image'),
     'help' => t('The image used by the Twitter account.'),
     'field' => array(
Index: twitter/twitter.views_default.inc
===================================================================
--- twitter/twitter.views_default.inc	(revision 201)
+++ twitter/twitter.views_default.inc	(working copy)
@@ -26,13 +26,13 @@
   $handler->display->display_options['style_plugin'] = 'table';
   $handler->display->display_options['style_options']['grouping'] = '';
   $handler->display->display_options['style_options']['columns'] = array(
-    'profile_image_url' => 'profile_image_url',
+    'profile_image_url_https' => 'profile_image_url_https',
     'text' => 'text',
     'created_time' => 'text',
   );
   $handler->display->display_options['style_options']['default'] = '-1';
   $handler->display->display_options['style_options']['info'] = array(
-    'profile_image_url' => array(
+    'profile_image_url_https' => array(
       'sortable' => 0,
       'separator' => '',
     ),
@@ -46,10 +46,10 @@
     ),
   );
   /* Field: Twitter: Profile image */
-  $handler->display->display_options['fields']['profile_image_url']['id'] = 'profile_image_url';
-  $handler->display->display_options['fields']['profile_image_url']['table'] = 'twitter_account';
-  $handler->display->display_options['fields']['profile_image_url']['field'] = 'profile_image_url';
-  $handler->display->display_options['fields']['profile_image_url']['label'] = '';
+  $handler->display->display_options['fields']['profile_image_url_https']['id'] = 'profile_image_url_https';
+  $handler->display->display_options['fields']['profile_image_url_https']['table'] = 'twitter_account';
+  $handler->display->display_options['fields']['profile_image_url_https']['field'] = 'profile_image_url_https';
+  $handler->display->display_options['fields']['profile_image_url_https']['label'] = '';
   /* Field: Twitter: Message text */
   $handler->display->display_options['fields']['text']['id'] = 'text';
   $handler->display->display_options['fields']['text']['table'] = 'twitter';
@@ -94,7 +94,7 @@
   $handler->display->display_options['style_plugin'] = 'table';
   $handler->display->display_options['style_options']['columns'] = array(
     'twitter_id' => 'twitter_id',
-    'profile_image_url' => 'profile_image_url',
+    'profile_image_url_https' => 'profile_image_url_https',
     'name' => 'name',
     'screen_name' => 'screen_name',
     'follow' => 'follow',
@@ -111,7 +111,7 @@
       'separator' => '',
       'empty_column' => 0,
     ),
-    'profile_image_url' => array(
+    'profile_image_url_https' => array(
       'sortable' => 0,
       'default_sort_order' => 'asc',
       'align' => '',
@@ -169,10 +169,10 @@
   $handler->display->display_options['fields']['twitter_id']['exclude'] = TRUE;
   $handler->display->display_options['fields']['twitter_id']['element_label_colon'] = FALSE;
   /* Field: Twitter: Profile image */
-  $handler->display->display_options['fields']['profile_image_url']['id'] = 'profile_image_url';
-  $handler->display->display_options['fields']['profile_image_url']['table'] = 'twitter_account';
-  $handler->display->display_options['fields']['profile_image_url']['field'] = 'profile_image_url';
-  $handler->display->display_options['fields']['profile_image_url']['label'] = '';
+  $handler->display->display_options['fields']['profile_image_url_https']['id'] = 'profile_image_url_https';
+  $handler->display->display_options['fields']['profile_image_url_https']['table'] = 'twitter_account';
+  $handler->display->display_options['fields']['profile_image_url_https']['field'] = 'profile_image_url_https';
+  $handler->display->display_options['fields']['profile_image_url_https']['label'] = '';
   /* Field: Twitter: Full name */
   $handler->display->display_options['fields']['name']['id'] = 'name';
   $handler->display->display_options['fields']['name']['table'] = 'twitter_account';
