Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
img no corver
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2023-10-31 18:35:15
Bonjour pouvez-vous me dire comment ajouter un bout de code au code cidessous afin que quand une image de torrent na pas été ajouter pour que l'on puisse voir une ime no corver car pour l'instant c'est un espace vide a la place de l'image avec une petite croix, merci d'avance pour votre aide

Hello can you tell me how to add a piece of code to the code below so that when a torrent image has not been added so that we can see an ime no corver because for the moment it is an empty space at the place the image with a small cross, thank you in advance for your help





for the torrent page in list mode
pour la page de torrent en mode liste

case 'cover':
if (!empty($row['image1']))
{
   $imgCover = '/uploads/images/' . htmlspecialchars($row['image1']);
}
else
{
   $imgCover = 'images/nocover.jpg';
}
echo '<td class=ttable_col'.$x.' align="center"><img width="75" height="95" src="'.$imgCover.'"></td>';
break;






for torrent page in image mode
pour la page de torrent en mode image

<a href=torrents-details.php?id=$row[id]'><img id='cover_img1' class='cover_img' border='2' src='uploads/images/$row[image1]' width='128px' height='177px' border=3></a> 






2023-10-31 22:05:41
@niki

what you get when you make right click on "empty" image, I mean what link you get?


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2023-11-02 21:44:53
just like botanicar said, right click on the blank image, then click "copy image link" and paste it somewhere, like a empty text file, or even the browser address bar so you can see what it leads to, dont hit enter, you just want to see what the file is, or what its supposed to be
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2023-11-02 22:23:56
Thanks to both of you for your help and I was just missing some images in the images folder which I will put back.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728