diff --git a/field/flickrfield.module b/field/flickrfield.module
index 43ceae3..d8661c2 100644
--- a/field/flickrfield.module
+++ b/field/flickrfield.module
@@ -399,7 +399,7 @@ function theme_flickrfield_formatter_photoset_flickrcomslideshow($variables) {
     return;
   }
   $set_id = $variables['#item']['flickrid'];
-  $src = 'http://www.flickr.com/slideShow/index.gne?set_id=' . $set_id;
+  $src = 'https://www.flickr.com/slideShow/index.gne?set_id=' . $set_id;
   return '<div class="flickr-photoset-slideshow">'
     . '<iframe align="center" src="' . $src . '" frameBorder="0" width="500" scrolling="no" height="500"></iframe>'
     . '</div>';
diff --git a/flickr.admin.inc b/flickr.admin.inc
index 96661b0..97de2d9 100644
--- a/flickr.admin.inc
+++ b/flickr.admin.inc
@@ -97,7 +97,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 02674db..34d1d24 100644
--- a/flickr.inc
+++ b/flickr.inc
@@ -4,7 +4,7 @@
  * The Flickr API functions.
  */
 
-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');
 
 /**
@@ -289,7 +289,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";
   }
 }
 
@@ -310,7 +310,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 82dc0c9..fedb587 100644
--- a/flickr.module
+++ b/flickr.module
@@ -336,7 +336,7 @@ function theme_flickr_photo($variables) {
   // 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.
@@ -352,37 +352,37 @@ function theme_flickr_photo($variables) {
       break;
 
     case '1':
-      $license = ' <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/" title="' . t('Creative Commons — Attribution-NonCommercial-ShareAlike 2.0 Generic — CC BY-NC-SA 2.0') . '" target="_blank"><span class="flickr-cc">cna</span></a>';
+      $license = ' <a href="https://creativecommons.org/licenses/by-nc-sa/2.0/" title="' . t('Creative Commons — Attribution-NonCommercial-ShareAlike 2.0 Generic — CC BY-NC-SA 2.0') . '" target="_blank"><span class="flickr-cc">cna</span></a>';
       $licenselong = t('Creative Commons, Attribution, Non Commercial, ShareAlike');
       break;
 
     case '2':
-      $license = ' <a href="http://creativecommons.org/licenses/by-nc/2.0/" title="' . t('Creative Commons — Attribution-NonCommercial 2.0 Generic — CC BY-NC 2.0') . '" target="_blank"><span class="flickr-cc">cn</span></a>';
+      $license = ' <a href="https://creativecommons.org/licenses/by-nc/2.0/" title="' . t('Creative Commons — Attribution-NonCommercial 2.0 Generic — CC BY-NC 2.0') . '" target="_blank"><span class="flickr-cc">cn</span></a>';
       $licenselong = t('Creative Commons, Attribution, Non Commercial');
       break;
 
     case '3':
-      $license = ' <a href="http://creativecommons.org/licenses/by-nc-nd/2.0/" title="' . t('Creative Commons — Attribution-NonCommercial-NoDerivs 2.0 Generic — CC BY-NC-ND 2.0') . '" target="_blank"><span class="flickr-cc">cnd</span></a>';
+      $license = ' <a href="https://creativecommons.org/licenses/by-nc-nd/2.0/" title="' . t('Creative Commons — Attribution-NonCommercial-NoDerivs 2.0 Generic — CC BY-NC-ND 2.0') . '" target="_blank"><span class="flickr-cc">cnd</span></a>';
       $licenselong = t('Creative Commons, Attribution, Non Commercial, No Derivs');
       break;
 
     case '4':
-      $license = ' <a href="http://creativecommons.org/licenses/by/2.0/" title="' . t('Creative Commons — Attribution 2.0 Generic — CC BY 2.0') . '" target="_blank"><span class="flickr-cc">c</span></a>';
+      $license = ' <a href="https://creativecommons.org/licenses/by/2.0/" title="' . t('Creative Commons — Attribution 2.0 Generic — CC BY 2.0') . '" target="_blank"><span class="flickr-cc">c</span></a>';
       $licenselong = t('Creative Commons, Attribution');
       break;
 
     case '5':
-      $license = ' <a href="http://creativecommons.org/licenses/by-sa/2.0/" title="' . t('Creative Commons — Attribution-ShareAlike 2.0 Generic — CC BY-SA 2.0') . '" target="_blank"><span class="flickr-cc">cs</span></a>';
+      $license = ' <a href="https://creativecommons.org/licenses/by-sa/2.0/" title="' . t('Creative Commons — Attribution-ShareAlike 2.0 Generic — CC BY-SA 2.0') . '" target="_blank"><span class="flickr-cc">cs</span></a>';
       $licenselong = t('Creative Commons, Attribution, Share Alike');
       break;
 
     case '6':
-      $license = ' <a href="http://creativecommons.org/licenses/by-nd/2.0/" title="' . t('Creative Commons — Attribution-NoDerivs 2.0 Generic — CC BY-ND 2.0') . '" target="_blank"><span class="flickr-cc">cd</span></a>';
+      $license = ' <a href="https://creativecommons.org/licenses/by-nd/2.0/" title="' . t('Creative Commons — Attribution-NoDerivs 2.0 Generic — CC BY-ND 2.0') . '" target="_blank"><span class="flickr-cc">cd</span></a>';
       $licenselong = t('Creative Commons, Attribution, No Derivs');
       break;
 
     case '7':
-      $license = '<br /><a href="http://flickr.com/commons/usage/" title="' . t('Flickr: The Commons') . '" target="_blank">No known copyright restrictions</a>';
+      $license = '<br /><a href="https://flickr.com/commons/usage/" title="' . t('Flickr: The Commons') . '" target="_blank">No known copyright restrictions</a>';
       $licenselong = t('No known copyright restrictions');
       break;
 
