Frequently Asked Questions
- What is Thin Image Upload?
It is a file upload applet tailor made for websites that handle a large number of images.
In spite of it's name, the applet can upload any file types. Images get special treatment. They can be resized on the client side prior to upload. It is also possible to create several files of different heights and widths from a single input. For example, thumbnails can be created and uploaded alongside the original.
- What image types can be uploaded?
- The applet can upload any kind of file not just images. You can filter out any unwanted file types by setting the allow types property in the configuration file.
- What types of images can be resized?
- GIF, JPG and PNG types can be resized before upload. In the case of GIFs the output will be a JPG.
- When images are scaled what happens to the EXIF data?
- At present Thin Image Upload will not preserve EXIF information when resizing images. However we plan to add this feature in the future
- Is Thin Image Upload compatible with my favourite scripting language?
- Thin Image Upload is a standards compliant, and as a result you can use it quite easily with popular technologies such as PHP, Perl, Java, ASP.NET and so on.
- Why do I get java.net.SocketException:Software caused connection abort:socket write error when trying upload large files with PHP?
PHP by default is configured only to accept file uploads less then 2MB in size. By editing the php.ini file and changing the following properties you will be able to upload very large files.
Make sure that upload_max_filesize and post_max_size are both larger than the settings you have chosen to max_upload. Assign reasonably high values for max_input_time and post_max_size
If you do not have access to the php.ini file on your server please consider using Thin Slice Upload. It can upload even hundreds of Giga Bytes even though the PHP configuration has imposed an arbitrarily low limit.