TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,250
  • Total Topics: 21,354
  • Online today: 626
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 352
  • Total: 353
  • lurkalot

Change "Listing Icon" dimensions

Started by SadisticSilence, April 19, 2011, 02:09:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SadisticSilence

SMF version: 2.0 RC5
TP version: 1.0 RC1

Hi guys!
Quick question about how to change the allowed dimensions here.

At the moment, they're limited (or resized) to 128x128px. I found the right lines to change in Sources/TPortalAdmin.php at line 4431 and 5053

tp_createthumb('tp-files/tp-articles/illustrations/'. $name, 128, 128, 'tp-files/tp-articles/illustrations/s_'. $name);


I changed it to the following:
tp_createthumb('tp-files/tp-articles/illustrations/'. $name, 625, 225, 'tp-files/tp-articles/illustrations/s_'. $name);

But now images dont get listed in the select box (image below) - even though they successfuly upload to the directory.

Any thoughts on how I can get them to show up again?


SadisticSilence

DUH. Silly me, I completely forgot to increase the max file size.  :-[

Marking as solved :)

This website is proudly hosted on Crocweb Cloud Website Hosting.