diff --git a/field/flickrfield.module b/field/flickrfield.module
index 3a4aa32..700ba63 100644
--- a/field/flickrfield.module
+++ b/field/flickrfield.module
@@ -402,8 +402,8 @@ function theme_flickrfield_formatter_photoset_flickrcomslideshow($element) {
   $user_id = $info['owner'];
 
   return '<div class="flickr-photoset-slideshow">'
-    . '<object type="application/x-shockwave-flash" data="http://www.flickr.com/apps/slideshow/show.swf?v=71649">
-  <param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649" />
+    . '<object type="application/x-shockwave-flash" data="https://www.flickr.com/apps/slideshow/show.swf?v=71649">
+  <param name="movie" value="https://www.flickr.com/apps/slideshow/show.swf?v=71649" />
   <param name="allowFullScreen" value="true" />
   <param name="wmode" value="opaque" />
   <param name="flashvars" value="offsite=true&amp;lang=en-us&amp;page_show_url=/photos/' . $user_id . '/sets/' . $set_id . '/show/&amp;page_show_back_url=/photos/' . $user_id . '/sets/' . $set_id . '/&amp;set_id=' . $set_id . '" /></object>'
@@ -421,7 +421,7 @@ function theme_flickrfield_formatter_photoset_flickrcomslideshow_simple($element
   $set_id = $element['#item']['flickrid'];
   $info = flickr_photoset_get_info($set_id);
   $user_id = $info['owner'];
-  $src = 'http://www.flickr.com/slideShow/index.gne?group_id=&user_id=' . $user_id . '&set_id=' . $set_id . '&text=';
+  $src = 'https://www.flickr.com/slideShow/index.gne?group_id=&user_id=' . $user_id . '&set_id=' . $set_id . '&text=';
 
   return '<div class="flickr-photoset-slideshow">'
     . '<object type="text/html" data="' . $src . '"></object>'
diff --git a/flickr.admin.inc b/flickr.admin.inc
index 51747a1..faa9c37 100644
--- a/flickr.admin.inc
+++ b/flickr.admin.inc
@@ -93,7 +93,7 @@ function flickr_admin_settings() {
     '#title' => t('Minimum image width to display a title caption.'),
     '#required' => TRUE,
     '#default_value' => variable_get('flickr_title_suppress_on_small', '100'),
-    '#description' => t('Small images have liitle space for a title caption. Replace it with the text "Flickr" that links to the photo page on Flickr to comply with their <a href="http://www.flickr.com/guidelines.gne" title="Flickr Community Guidelines">Guidelines</a>.<br />After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.'),
+    '#description' => t('Small images have liitle space for a title caption. Replace it with the text "Flickr" that links to the photo page on Flickr to comply with their <a href="https://www.flickr.com/guidelines.gne" title="Flickr Community Guidelines">Guidelines</a>.<br />After saving the configuration <a href="?q=admin/config/development/performance">clear the cache</a>.'),
     '#field_suffix' => t('px'),
     '#size' => 3,
     '#maxlength' => 3,
diff --git a/flickr.inc b/flickr.inc
index 31d05ea..28a8a57 100644
--- a/flickr.inc
+++ b/flickr.inc
@@ -1,6 +1,6 @@
 <?php
 
-define('FLICKR_REST_ENDPOINT', 'http://api.flickr.com/services/rest/');
+define('FLICKR_REST_ENDPOINT', 'https://api.flickr.com/services/rest/');
 require_once(drupal_get_path('module', 'flickr') . '/flickr.api.inc');
 
 /**
@@ -189,7 +189,7 @@ function flickr_photo_img($photo, $size = NULL, $format = NULL) {
   $id = isset($photo['primary']) ? $photo['primary'] : $photo['id'];
   $secret = $photo['secret'];
 
-  return "http://farm{$farm}.static.flickr.com/{$server}/{$id}_{$secret}" . ($size ? "_$size." : '.') . ($size == 'o' ? $format : 'jpg');
+  return "https://farm{$farm}.static.flickr.com/{$server}/{$id}_{$secret}" . ($size ? "_$size." : '.') . ($size == 'o' ? $format : 'jpg');
 }
 
 /**
@@ -266,7 +266,7 @@ function flickr_photo_page_url($owner, $id = NULL) {
     return $person['photosurl']['_content'] . $id;
   }
   else {
-    return "http://flickr.com/photos/$nsid/$id";
+    return "https://flickr.com/photos/$nsid/$id";
   }
 }
 
@@ -299,7 +299,7 @@ function flickr_get_info_by_url($url, $reset = FALSE) {
   }
   // Prepend the protocol if it's not there, so we can use parse_url().
   if (strpos($url, 'http') !== 0) {
-    $url = 'http://' . $url;
+    $url = 'https://' . $url;
   }
   $parts = parse_url($url);
   if (strpos($parts['host'], 'flickr') === FALSE) {
@@ -343,7 +343,7 @@ function flickr_photoset_page_url($owner, $id = NULL) {
     return $person['photosurl']['_content'] . 'sets/' . $id;
   }
   else {
-    return "http://flickr.com/photos/$nsid/sets/$id";
+    return "https://flickr.com/photos/$nsid/sets/$id";
   }
 }
 
diff --git a/flickr.module b/flickr.module
index 744011b..d994d10 100644
--- a/flickr.module
+++ b/flickr.module
@@ -246,7 +246,7 @@ function theme_flickr_photo($photo, $size = NULL, $format = NULL, $attributes =
   // Use title if description does not exist, else sanitize the description.
   $description = !empty($info['description']['_content']) ? str_replace('"', "'", htmlspecialchars_decode(strip_tags($info['description']['_content']))) : $title;
   // Real name if it exists or go with the username. Link to Flickr user page.
-  $username = !empty($info['owner']['realname']) ? l($info['owner']['realname'], 'http://www.flickr.com/photos/' . $info['owner']['nsid'], array('attributes' => array('title' => t('View user on Flickr.'), 'target' => '_blank'))) : l($info['owner']['username'], 'http://www.flickr.com/photos/' . $info['owner']['nsid'], array('attributes' => array('title' => t('View user on Flickr.'), 'target' => '_blank')));
+  $username = !empty($info['owner']['realname']) ? l($info['owner']['realname'], 'https://www.flickr.com/photos/' . $info['owner']['nsid'], array('attributes' => array('title' => t('View user on Flickr.'), 'target' => '_blank'))) : l($info['owner']['username'], 'https://www.flickr.com/photos/' . $info['owner']['nsid'], array('attributes' => array('title' => t('View user on Flickr.'), 'target' => '_blank')));
   // The date an image was taken formatted as 'time ago'.
   $taken = isset($info['dates']['taken']) ? format_interval(time() - strtotime($info['dates']['taken']), 1) . ' ' . t('ago') : '';
   // A bunch of geo data.
