TinyPortal
Development => Support => Topic started by: SadisticSilence on April 19, 2011, 02:09:37 PM
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?
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg855.imageshack.us%2Fimg855%2F2103%2F128x128.th.gif&hash=63c7d0dcb8af452baf2ac1e57358119932724309) (http://img855.imageshack.us/i/128x128.gif/)
DUH. Silly me, I completely forgot to increase the max file size. :-[
Marking as solved :)