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
TXT nfo to PNG.
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / M-BiTsy / M-BiTsy Support

2022-06-03 04:26:23
Hi out there.

I was thinking, is it possible to make the site show NFO as a PNG file instead of showing it as a TXT file?

Thanks.
2022-06-03 13:25:03
Yes, with GD ImageString().

It takes a string representation (in your case, file_get_contents($row[‘nfo’]) and converts to PNG/JPG/GIF which you then link on torrent details with

if (file_exists($nfofile) && $row[‘nfo’] == ‘yes’) {
  // Call GD here
}

Share your code and I’ll post your update.
2022-06-10 03:38:22
Hi there. Thanks for the reply, but don't know what you mean?

What code are you after?

Thanks.

(Again bit of a noob at this, sorry.)
Last edited by AllTheWay on 2022-06-10 05:58:03
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