1. Ok so the user enters the url into the textbox: http://www.gogu.com/picture.jpg and I want to download the picture from that URL to my /pics folder (relative location from this source file). Is there such a function in php?
2. What is the best method of resizing pictures? with GD lib?
3. Is there a way to optimize a picture file not to loose quality, but to have a smaller file size?
I have used imagemagick for picture resizing. The quality is pretty much the same as if you were to resize it using something like paint shop pro.
The problem is if you are doing many images, then the speed of the server will be affected as I have tested it on my test server, a pentium I 200 mhz, and the process definitely slows down.
As for downloading there are many code examples, try a search 'download'.
If you are just looking for something pretty simple, the code area has a number of examples too.
Bookmarks