Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Image Uploads
Name: BigShow Date: October 6, 2008 at 19:42:47 Pacific OS: xp CPU/Ram: pentium 4 Product: dell
Comment:
I have a question about image uploads. I am creating a form that users can upload images through. I know how to take an image and store it in a directory and i am saving the path in the database, thats not what I need. What I am wondering is what parameters should i be holding to. I have been told to use imagemagick if it is on my hot but I would rather do it manually if possible. Basically, what is a good max_file_size? What extentions whould i allow? I want to store the image as both a thumbnail and a image no bigger then 1024 wide (if this should be smaller I would appreciate the advice).
Name: CodyJoyce Date: October 15, 2008 at 04:33:58 Pacific
Reply:
Hi.
I would look at what upload times would be for the sizes of images.
say a 1mb image is uploaded at 30kbps, that would take over 30 seconds (and the request may time out)
imagemagick is simply used to resize any image after it has been uploaded to the host. This is done by executing the 'convert' program via your script.
Summary: Hello, I have a php script that uploads a few text boxes to a mysql database, and uploads an image to a given directory. It worked great for a couple months, but seemed to stop working. It will wor...
Summary: Not sure what you are looking for. Do these images need to be used by the website? If so, they need to be on the webserver or another machine that the web server has access to. Do you put any limitati...