Hey, I'm a real newbie to PHP, so bear with me. Basically, I have a website where people need to upload an image. Currently, they can upload an image of any size. I want to make it so the user can upload it as any size, but it's then automatically resized to a smaller size if it it's bigger than the limits I set. Now, I've found a function that allows me to do this if I define a single image, my problem being that I could do with just defining a single folder, and the function then resizes all images in that folder. Is there anyway of doing that? Apologies if that a) makes no sense or b) is an obvious question. I'm a real newbie to PHP. Cheers Dan
You can use your function that resizes one image, and go through the folder and apply it to each. example #2 is a quick way to go through them.