Browse Source

Thumbnail image previews in the freeleech section of the index

erio 7 years ago
parent
commit
4bdb161ec8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/index/private.php

+ 1
- 1
sections/index/private.php View File

153
     $DisplayTime = '('.str_replace(['week','day','hour','min','Just now','s',' '],['w','d','h','m','0m'],time_diff($ExpiryTime, 1, false)).') ';
153
     $DisplayTime = '('.str_replace(['week','day','hour','min','Just now','s',' '],['w','d','h','m','0m'],time_diff($ExpiryTime, 1, false)).') ';
154
     $DisplayName = '<a href="torrents.php?torrentid='.$ID.'"';
154
     $DisplayName = '<a href="torrents.php?torrentid='.$ID.'"';
155
     if (!isset($LoggedUser['CoverArt']) || $LoggedUser['CoverArt']) {
155
     if (!isset($LoggedUser['CoverArt']) || $LoggedUser['CoverArt']) {
156
-      $DisplayName .= " onmouseover=\"getCover(event)\" data-cover=\"".ImageTools::process($Image)."\" onmouseleave=\"ungetCover(event)\"";
156
+      $DisplayName .= " onmouseover=\"getCover(event)\" data-cover=\"".ImageTools::process($Image, true)."\" onmouseleave=\"ungetCover(event)\"";
157
     }
157
     }
158
     $DisplayName .= '>'.$Name.'</a>';
158
     $DisplayName .= '>'.$Name.'</a>';
159
 ?>
159
 ?>

Loading…
Cancel
Save