By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,900 Members | 1,453 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,900 IT Pros & Developers. It's quick & easy.

Image optimization Emergency lol

P: 26
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.

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.
Aug 24 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 5,058
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.
Aug 24 '07 #2

P: 26
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.
Aug 24 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.