hpvic03
Technical User
- Aug 2, 2006
- 89
I'm trying to let a user upload a picture to my website. It works fine right now, I just want to add a few things. I am using cffile and an access database.
I want to know if there is a way to make a maximum file size that the user can upload, as someone could upload a 20mb picture and waste a lot of space. I want a max of about 4mb.
Also, is there a way to change the picture size? All the pictures are placed using CSS so that their width is fixed, and the height auto-adjusts. But big pictures turn out funny; they look kind of sharp. The size adjusts perfectly, it's just the resolution that looks odd. If you click "view image", it opens up in a new page and the picutre is really big. Anyway, does anyone know how to fix this so I can save space and make them look better.
Thanks in advance,
Vic
I want to know if there is a way to make a maximum file size that the user can upload, as someone could upload a 20mb picture and waste a lot of space. I want a max of about 4mb.
Also, is there a way to change the picture size? All the pictures are placed using CSS so that their width is fixed, and the height auto-adjusts. But big pictures turn out funny; they look kind of sharp. The size adjusts perfectly, it's just the resolution that looks odd. If you click "view image", it opens up in a new page and the picutre is really big. Anyway, does anyone know how to fix this so I can save space and make them look better.
Thanks in advance,
Vic