diff --git a/plugins/Referrers/functions.php b/plugins/Referrers/functions.php
index <HASH>..<HASH> 100644
--- a/plugins/Referrers/functions.php
+++ b/plugins/Referrers/functions.php
@@ -103,10 +103,13 @@ function getSocialsLogoFromUrl($domain)
         }
 
         $pathWithCode = 'plugins/Referrers/images/socials/' . $firstDomain . '.png';
-        return $pathWithCode;
-    } else {
-        return 'plugins/Referrers/images/socials/xx.png';
+
+        if (file_exists($pathWithCode)) {
+            return $pathWithCode;
+        }
     }
+
+    return 'plugins/Referrers/images/socials/xx.png';
 }
 
 /**
only return social image path if that file exists