Current location: Hot Scripts Forums » General Community » Script Requests » Trying to locate a tool to compress images on client side before uploading


Trying to locate a tool to compress images on client side before uploading

Reply
  #1 (permalink)  
Old 10-08-06, 12:57 AM
indianajns indianajns is offline
Newbie Coder
 
Join Date: Oct 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Trying to locate a tool to compress images on client side before uploading

Hello... n00b here... I've been looking for a script to allow users to upload pics to my site. I have found 1,000's of apps out there to upload images but not many to compress those images prior to uploading to the server. I'd like to do this without a Java applet if possible....

Anyassistance will be GREATLY appreciated.....
Reply With Quote
  #2 (permalink)  
Old 10-08-06, 12:53 PM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 6 Times in 5 Posts
Moved to Script Requests.
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Reply With Quote
  #3 (permalink)  
Old 10-08-06, 07:36 PM
indianajns indianajns is offline
Newbie Coder
 
Join Date: Oct 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Anyone... Anyone.... Bueller... Bueller...
Reply With Quote
  #4 (permalink)  
Old 10-09-06, 10:16 AM
Barnz1986 Barnz1986 is offline
Aspiring Coder
 
Join Date: Jan 2006
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by indianajns
Anyone... Anyone.... Bueller... Bueller...
I doubt you will find a script what compresses images before uploading to the server without using some kind of desktop application.
Reply With Quote
  #5 (permalink)  
Old 10-09-06, 08:09 PM
indianajns indianajns is offline
Newbie Coder
 
Join Date: Oct 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for replying Barnz.. I did find one that uses Java but I find people are leary of downlaoding applets. I wonder what sites like ebay and hotornot use to compress?? Perhaps they are compressing on the server side?
Reply With Quote
  #6 (permalink)  
Old 10-09-06, 08:35 PM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
The common gif/jpg/jpeg file formats already encode the data in a compressed form. If you zip these you will only get a small additional amount of compression.

If by compress you mean resize and/or resample the image in a different number of colors to reduce its size, I have never heard of a browser based client side method of doing this.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Reply With Quote
  #7 (permalink)  
Old 10-10-06, 12:54 AM
rodion rodion is offline
Newbie Coder
 
Join Date: Feb 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
You can try using GD library to manipulate images. I shouldn't be complicated to make your own php script that uses GD.
Reply With Quote
  #8 (permalink)  
Old 10-10-06, 09:21 PM
indianajns indianajns is offline
Newbie Coder
 
Join Date: Oct 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Mab you are correct, I did mean resize the image from the standard 1 meg+ files most digital cameras produce nowadays. I did find a script that works well called ThinImage which uses a Java applet. It works but I'd like to do something that doesn't require a plug-in. I've been slowly learning GD and ImageMagick to try and do what rodion suggested. It seems like it can def. be done, I just wish I wasn't such a newbie coder. Guess I gotta start somewhere.. (Why can't everything be in VB??? ) In my research of this I found tons of posts of people looking for the same thing.. Someone may have an opportunity here to make some jack by building this bad boy out....
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP to generate HTML as loaded from client side mgscom PHP 2 01-14-06 12:02 AM
Listing client side files fuoco2005 HTML/XHTML/XML 3 11-21-05 04:13 PM
Client side Plug in Vinitha Script Requests 0 03-02-05 04:43 AM
Uploading Images Using Forms rockitdev PHP 1 12-08-04 06:50 PM
some questions regarding the uploading of images davidklonski JavaScript 0 07-01-04 10:46 AM


All times are GMT -5. The time now is 11:28 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.