Computing.Net > Forums > Web Development > Image Uploads

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

Reply to Message Icon

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).

Any help would be appreciated.



Sponsored Link
Ads by Google

Response Number 1
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.

-Cody Joyce
PHP Developer / Technician


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Image Uploads

Image upload in PHP www.computing.net/answers/webdevel/image-upload-in-php/2912.html

Image upload stoped working www.computing.net/answers/webdevel/image-upload-stoped-working/2927.html

how to save website user's images www.computing.net/answers/webdevel/how-to-save-website-users-images/1645.html