Connecting Tech Pros Worldwide Forums | Help | Site Map

Image optimization Emergency lol

Newbie
 
Join Date: Jun 2007
Posts: 26
#1: Aug 24 '07
Image optimization Emergency lol

Hey guys. I have a image hosting website that seems to have taken off over the past 2 days and jumped from 6GB per day, to 25 GB and rising.

I was wondering if there is a way to help lower this bandwidth problem. I wanted to optimise images that people upload.

I found a function on this webpage that says it can do it, but it only works with jpegs.

http://nodstrum.com/2007/02/06/imagemagick_manipulation/

Can anyone help me make this function work with png, gif and bmp file types? Or point me in the right direction in what I need to be reading.

At the rate its going I’m going to be out of bandwidth in about 3 days, so I could do with this being completed before then. I know it’s a lot to ask, but thanks for any help that can be provided in advance.

Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,754
#2: Aug 24 '07

re: Image optimization Emergency lol


As far as I can see, he is not actually using PHP functions. He is executing an external program via command line commands.
Try googling the name of the program he mentions.

This will, however, not help you with your bandwidth problems. This all happens after the image has been uploaded onto your server so the amount of data you need to download from your clients remains the same.
Newbie
 
Join Date: Jun 2007
Posts: 26
#3: Aug 24 '07

re: Image optimization Emergency lol


I think he is useing GD functions or imagemagic. It will help because it is a iamge hosting site. The data being sent will still be large but when all the users come to see it it will have a reduced size.
Reply