PDA

View Full Version : Help! Automatically Resizing Images.


breest
03-30-2001, 02:14 PM
Hey everyone, i was starting a new site that allows users to upload pictures onto my server, but if the picture that they upload exceeds 350 pixels in width, it fuckes my whole site layout up. Is there anyway (a program, service, script or something) that I can integrate on my server that will physically resize the images if the width exceeds 350 pixels. I was thinking of a like a unix image program that can resize an image with simple parameters (ie resize /usr/bin/graphics/1.jpg -w 350 ). Just seeing how difficult this would be to do.
Thanks For ANY help =)

-Breest

MikeG
02-24-2002, 06:07 PM
I have been looking for this program for a while.<br />Where can I it or one like it.<br /><br />Thanks!

MikeG
02-24-2002, 06:11 PM
I mean I have been looking for the program that allows surfers to UPLOAD pics and movies to my server. Where to find one?<br /><br />Thanks

AgentCash
02-24-2002, 06:22 PM
They have ways of doing it in php & cgi, I've come across them before, the problem is it doesn't blend & soften like PSP or Photoshop, so expect many jaggies on resized images.<br /><br /><a href="http://www.blazonry.com/scripting/upload-size.php" target="_blank">http://www.blazonry.com/scripting/upload-size.php</a>

AgentCash
02-24-2002, 06:23 PM
The link above also has the upload script MikeG.

MikeG
02-24-2002, 06:38 PM
Link to script download is dead. Hope I get an answer from the webmaster.<br /><br />Thanks

AgentCash
02-24-2002, 06:52 PM
More resizing scripts - <br /><a href="http://www.zend.com/codex.php?CID=344" target="_blank">http://www.zend.com/codex.php?CID=344</a><br /><br />Upload scripts -<br /><a href="http://www.hotscripts.com/Detailed/10492.html" target="_blank">http://www.hotscripts.com/Detailed/10492.html</a><br /><a href="http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=285&lngWId=8" target="_blank">http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=285&lngWId=8</a><br /><br />Make Google your friend.

MikeG
02-24-2002, 07:15 PM
What's nex? All they give you is a snippet of script, no explantion on installation.

MikeG
02-24-2002, 07:31 PM
BY FAR THE BETTER SITE!!!<br /><br /><a href="http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_Systems/" target="_blank">http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_Systems/</a>

jardasedma
02-25-2002, 11:58 AM
Hi,<br /><br />is there any script which convert jpgs to gifs ? I would like to create counters on my pages :-)