diff --git a/themes/danbooru/view.theme.php b/themes/danbooru/view.theme.php
index 427d4f48..72164e6e 100644
--- a/themes/danbooru/view.theme.php
+++ b/themes/danbooru/view.theme.php
@@ -32,7 +32,7 @@ class CustomViewImageTheme extends ViewImageTheme {
if(!is_null($image->source)) {
$h_source = html_escape($image->source);
- if(substr($image->source, 0, 7) != "http://") {
+ if(substr($image->source, 0, 7) != "http://" && substr($image->source, 0, 8) != "https://") {
$h_source = "http://" . $h_source;
}
$html .= "
Source: link";