The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-24-2008, 05:25 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
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 
Default

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:
Code:
<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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Help Please - File Upload! Fergal Crawley Geek Gazette 7 08-22-2009 12:11 PM
Unable to upload thumbnail images nuvar Geek Article and Review System 3 01-24-2009 02:29 PM
Can not upload header image stckhlm Geek Article and Review System 7 10-23-2008 06:38 PM
File upload error, max file size reached.... LLIFE Geek Article and Review System 3 01-11-2006 05:35 PM
File upload file type question..... LLIFE Geek Article and Review System 1 01-11-2006 05:24 PM


All times are GMT. The time now is 06:03 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.