diff -u fboauth/fboauth.module fboauth_https/fboauth.module
--- fboauth/fboauth.module  2012-02-27 14:01:18.000000000 +1300
+++ fboauth_https/fboauth.module  2012-03-01 15:37:17.000000000 +1300
@@ -401,7 +401,11 @@
   $link['attributes']['class'] = isset($link['attributes']['class']) ? $link['attributes']['class'] : 'facebook-action-connect';
   $attributes = isset($link['attributes']) ? drupal_attributes($link['attributes']) : '';
   $title = isset($link['title']) ? check_plain($link['title']) : '';
-  return '<a ' . $attributes . ' href="' . $url . '"><img src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_short.gif" alt="' . $title . '" /></a>';
+
+  // if the current connection is https, make the image url the same
+  global $is_https;
+  $image_src = ($is_https ? 'https' : 'http') .'://www.facebook.com/images/fbconnect/login-buttons/connect_light_medium_short.gif';
+  return '<a ' . $attributes . ' href="' . $url . '"><img src="'. $image_src .'" alt="' . $title . '" /></a>';
 }
 
 /**
