Browse Source

Replace default lolicon nocover.png picture :^)

pjc 5 years ago
parent
commit
13018b5841

+ 1
- 1
sections/bookmarks/torrents.php View File

@@ -197,7 +197,7 @@ foreach ($GroupIDs as $GroupID) {
197 197
 <div class='collage_image image_group_<?=$GroupID?>'>
198 198
       <a href="torrents.php?id=<?=$GroupID?>" class="bookmark_<?=$GroupID?>">
199 199
 <?  if (!$WikiImage) {
200
-      $WikiImage = STATIC_SERVER.'common/noartwork/nocover.png';
200
+      $WikiImage = STATIC_SERVER.'common/noartwork/nocover.jpg';
201 201
 } ?>
202 202
         <img class="tooltip_interactive" src="<?=ImageTools::process($WikiImage, 'thumb')?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?> <br /> <?=$Tags?>" data-title-plain="<?="$DisplayName ($PlainTags)"?>" width="100%" />
203 203
       </a>

+ 1
- 1
sections/collages/torrent_collage.php View File

@@ -207,7 +207,7 @@ foreach ($GroupIDs as $GroupID) {
207 207
         <div class="collage_image image_group_<?=$GroupID?>">
208 208
           <a href="torrents.php?id=<?=$GroupID?>">
209 209
 <?  if (!$WikiImage) {
210
-      $WikiImage = STATIC_SERVER.'common/noartwork/nocover.png';
210
+      $WikiImage = STATIC_SERVER.'common/noartwork/nocover.jpg';
211 211
     } ?>
212 212
             <img class="tooltip_interactive" src="<?=ImageTools::process($WikiImage, 'thumb')?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?> <br /> <div class='tags'><?=$Tags?></div>" data-title-plain="<?="$DisplayName ($PlainTags)"?>" width="100%" />
213 213
           </a>

+ 1
- 1
sections/torrents/details.php View File

@@ -188,7 +188,7 @@ View::show_header($Title, 'browse,comments,torrent,bbcode,recommend,cover_art,su
188 188
 <?  if ($WikiImage != '') { ?>
189 189
       <div><img width="100%" class="lightbox-init" src="<?=ImageTools::process($WikiImage, 'thumb')?>" lightbox-img="<?=ImageTools::process($WikiImage)?>" alt="<?=$AltName?>" /></div>
190 190
 <?  } else { ?>
191
-      <div><img width="100%" src="<?=STATIC_SERVER?>common/noartwork/nocover.png" alt="<?=$Categories[$GroupCategoryID - 1]?>" class="brackets tooltip" title="<?=$Categories[$GroupCategoryID - 1]?>" /></div>
191
+      <div><img width="100%" src="<?=STATIC_SERVER?>common/noartwork/nocover.jpg" alt="<?=$Categories[$GroupCategoryID - 1]?>" class="brackets tooltip" title="<?=$Categories[$GroupCategoryID - 1]?>" /></div>
192 192
 <?
193 193
   }
194 194
 $Index++;

+ 1
- 1
sections/user/user.php View File

@@ -815,7 +815,7 @@ foreach ($Collages as $CollageInfo) {
815 815
       extract(Torrents::array_group($Group[$C['GroupID']]));
816 816
 
817 817
       if (!$C['WikiImage']) {
818
-        $C['WikiImage'] = STATIC_SERVER.'common/noartwork/nocover.png';
818
+        $C['WikiImage'] = STATIC_SERVER.'common/noartwork/nocover.jpg';
819 819
       }
820 820
 
821 821
       $Name = '';

BIN
static/common/noartwork/nocover.jpg View File


+ 1
- 1
static/functions/global.js View File

@@ -309,7 +309,7 @@ function getCover(event) {
309 309
   if ($('#coverCont img').length == 0) {
310 310
     coverCont.appendChild(document.createElement('img'))
311 311
   }
312
-  $('#coverCont img')[0].src = image?image:'/static/common/noartwork/nocover.png'
312
+  $('#coverCont img')[0].src = image?image:'/static/common/noartwork/nocover.jpg'
313 313
   coverCont.style.display = 'block'
314 314
   coverListener = mevent => {
315 315
     let wh = window.innerHeight, ch = coverCont.clientHeight, ph = mevent.clientY

Loading…
Cancel
Save