diff --git a/public/index.php b/public/index.php
index 12e055ce73a0b8cabceabbb8ac81e4dbb6786fc3..f43f16db8c5d005d423d3dbafdf3cd82776099de 100644
--- a/public/index.php
+++ b/public/index.php
@@ -14,7 +14,7 @@ if (strpos($_SERVER['HTTP_HOST'], '.onion') !== false) {
 getHeader("Jonas Leder", "home");
 ?>
     <div class="center">
-        <img id="homeImage" src="img/bildHome.webp">
+        <img id="homeImage" src="img/bildHome.webp" data-noPreview="true">
         <h2>&Uuml;ber mich</h2>
         <p class="left block">Hallo, mein Name ist Jonas Leder. Ich bin aktuell Student an der Dualen Hochschule Baden-Württemberg in Mannheim Fachrichtung Angewandte Informatik.</p>
         <p><a href="about.php"><button>Mehr</button></a></p>
@@ -53,8 +53,8 @@ getHeader("Jonas Leder", "home");
         </div>
         <div id="banner">
         <h2>Banner</h2>
-        <a target="_blank" href="https://ipv6.he.net"><img src="<?php echo($heIMG); ?>"></a>
-        <a target="_blank" href="https://www.abuseipdb.com/user/45130"><img style="width: 391px;background: #35c246 linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.3) 50%, rgba(0,0,0,.2) 51%, rgba(0,0,0,0));padding: 5px;" src="<?php echo($abuseIPIMG); ?>" style="width: 401px;"></a>
+        <a target="_blank" href="https://ipv6.he.net"><img src="<?php echo($heIMG); ?>" data-noPreview="true">></a>
+        <a target="_blank" href="https://www.abuseipdb.com/user/45130"><img style="width: 391px;background: #35c246 linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.3) 50%, rgba(0,0,0,.2) 51%, rgba(0,0,0,0));padding: 5px;" src="<?php echo($abuseIPIMG); ?>" style="width: 401px;" data-noPreview="true">></a>
         </div>
         <br>
         <br>
diff --git a/ts/imgPreview.ts b/ts/imgPreview.ts
index 7b9f614580a192feef156c7ed45d6e133d6d8f26..d1dc0fb9690d127c3b523ace0304139b13804fed 100644
--- a/ts/imgPreview.ts
+++ b/ts/imgPreview.ts
@@ -1,7 +1,7 @@
 let images:HTMLCollectionOf<HTMLImageElement> = <HTMLCollectionOf<HTMLImageElement>> document.getElementsByTagName("img");
 for(let i = 0; i < images.length; i++){
     let element:HTMLImageElement = images[i];
-    if(element.getAttribute("data-noPreview") === "true") {
+    if(!(element.getAttribute("data-noPreview") === "true")) {
         element.onclick = () => createDialogImage(element.src);
     }
 }
\ No newline at end of file