Microsoft
Software
Hardware
Network
Question : Image re-sizing
Hello,
I have been accepting up to 3MB in our database and then when needed pulling the pics out of the database and re-sizing them. However, I'm guessing it takes up too much space when I do this. So, I'm wanting to re-size the pics before putting them in the database, but I'm not sure where to start. Can you give me some insight on how this should be done?
Thanks,
~Amy
Answer : Image re-sizing
You have the filename of the temp file, you should be able to use a gd function on it to resize it prior to moving.
See
http://uk3.php.net/manual/
en/functio
n.imagecop
yresampled
.php
There is a demo there that should help.
Random Solutions
CSS menu needs padding
MS SQL Server hanging
Trying to use Microsoft Script Debugger
Retrieving email message count in PHP without storing password in cleartext
Ability to Group rows with Microsoft Excel Interop C#
vectors in opposite directions
how can I set all inputs to readonly in jquery?
domain controller is unavailable
VRRP
No IP address via Wired Connection but getting IP address via Wireless on Windows 7 connecting to new SBS 2008