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
2 Small Business Servers to run on one internet connection
Excel 2007 vlookup returns position rather than value
Migrating from Exchange 2003 to 2008 but 2008 is on a new domain of its own.
How to configure IIS 7.5 to use ipv4 IP addresses in log files
Using a variable in the ORDER BY clause of an SQL stored procedure.
format control based on passing form and control name
Avg function display and sort
How do i use Robocopy to create new folders
Can I have code created in VBA to allow Outlook Email messages to save to sharepoint folders?
query from US