i am in the process of building a site for a client and need a quick solution.
my goal: to automatically change the file size (meaning actual dimension, so it is dial-up friendly an reduced to look good on a page) of a jpg when it is uploaded through a web interface into a specific folder.
I know you can do this through gd. Say the 2.2mb file is uploaded to the folder "gallery". When it is stored on the server, I want it to be reduced in size, based on percentages or original size (like 10% by 10% of original size) and stored as the same filename as it was uploaded.
Please don't recommend me using another gallery script, I am locked into using this one.
Any other help as to how to do this would be greatly appreciated.
Steve
my goal: to automatically change the file size (meaning actual dimension, so it is dial-up friendly an reduced to look good on a page) of a jpg when it is uploaded through a web interface into a specific folder.
I know you can do this through gd. Say the 2.2mb file is uploaded to the folder "gallery". When it is stored on the server, I want it to be reduced in size, based on percentages or original size (like 10% by 10% of original size) and stored as the same filename as it was uploaded.
Please don't recommend me using another gallery script, I am locked into using this one.
Any other help as to how to do this would be greatly appreciated.
Steve















