This is a discussion on "Reducing File (jpg) size in asp" within the Classic ASP section. This forum, and the thread "Reducing File (jpg) size in asp are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Reducing File (jpg) size in asp
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi m8
I am having a little problem with my asp page. I have a browser form, where user select graphic from their local drive and upload to web server. I want to control the size, width and height of the jpg file. So what I like to do in my upload code is to reduce file (jgp) size to around 15KB. Please could you help me. I would appreciate your advice or sample code for my asp page, please many thank |
|
|
|
|||
|
Re: Reducing File (jpg) size in asp
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
||||
|
Re: Reducing File (jpg) size in asp
You can't control the file on the visitor's machine, so you'll have to upload it.
Once it's uploaded: - save it in a temp folder - resize it - save the resized (small) image - delete the temp (big) image Image resizing can only normally be achieve with components, so check what your host has to offer, otherwise, you can use Crazy Beaver's Imager DLL. The Crazy Beaver site has gone off-line but there are still a few copies of the code out there...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Tags |
| asp, size |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best way to reduce file size of .jpg | lmc148 | Graphics and 3D | 12 | Jan 17th, 2008 07:43 |
| Image file size help | danny322 | Graphics and 3D | 6 | Nov 9th, 2007 11:20 |
| increasing file size | begeiste | PHP Forum | 3 | Sep 30th, 2007 05:33 |
| large php file size | geoffmuskett | PHP Forum | 5 | Jun 20th, 2007 14:54 |
| Need help with E-Card file size | amber | Graphics and 3D | 7 | Jun 19th, 2007 06:24 |