View Single Post
Old 03-24-2008, 05:25 PM
Morgan's Avatar
Morgan Morgan is offline
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 

When doing thumbnail to original image, the original image is not resized. vB 3.7 has a new function called fetch_best_resize and the GARS geek_class_upload.php file has some untested code that is commented out to make use of that function. Again it is untested code and only for those using vB 3.7 and up. You can try uncommenting the three blocks of code that are commented out in the geek_class_upload.php file and see if it works, assuming you are using vB 3.7 and up, or you'd need to take the if ($this->dooriginal) block of code in the geek_class_upload.php file and make it similar to the if ($this->dothumb) block of code in the geek_class_upload.php file if you want to make the original image a thumbnail too. Alternatively you could add the following to the GARS_custom_thumbnail template to try and limit filesize from the client-side, where X is a number in bytes:
<input type="hidden" name="MAX_FILE_SIZE" value="X" />
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote