Home |  About us | Downloads | Support | Contact Us
Thin Upload
Sliced Upload
Thin Image
File Putter
Thin FTP Upload
Thin Upload Pro
 
Features
 
Documentation
FAQ
 
Store
 

Image Upload With Resize

CONFIGURATION

The next bit is for image scaling. Images that are either wider than the img_max_width or taller than img_max_height will be scaled down. If scale_images=yes, you must set valid integer values for img_max_width and img_max_height. It should be noted that the java language does not support creating GIF files as such all scaled images will be in the JPG format. You will need to set the allow_types to match gif,jpg and png if you wish to make use of this feature.

Example

scale_images=yes
img_max_width=100
img_max_height=100

If you wish to create several images of varying sizes you can make use of array notation.

Example

scale_images=yes
img_max_width[0]=100
img_max_height[0]=100
img_max_width[1]=200
img_max_height[1]=200
 

Copyright 2005 - 2008 Thin File (Private) Limited. All Rights Reserved.

Privacy Policy   |   Terms Of Use