Restrict upload filesize?

Gekko

Joined: 2003-01-29
Posts: 14
Posted: Wed, 2003-01-29 22:46

Hello,

an option to restrict the upload file size for "add photos" would be very usefull. Maybe in
the admin center something like: Allow up to 100 kb Upload. If it is more, a small window should pop up for the user and inform him that his file is too big. (so .htaccess is not a solution)

I know there is a solution for checking the dimension (xxx pixels) and resizing. This is one thing. But I would like to restrict the filesize.

Maybe someone can help me?

cu Gekko

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Wed, 2003-01-29 22:56

Check the customization forum. Something like this has been done.

 
Gekko

Joined: 2003-01-29
Posts: 14
Posted: Thu, 2003-01-30 10:25

@joyoflinux

I only can find a solution for checking the dimension but not the filesize...

But I will ask in customization forum.

cu Gekko