Page 1 of 1

Products module - resizing files on uploads

Posted: Thu Dec 08, 2011 3:29 pm
by czeslav87
Hello,

Long story short - i know it has been discussed a lot and official message is that we don't want to do that. But the issue is - my customer has very little knowledge about anything related to computers.

Is there a way to resize uploaded image if it's bigger than 640x480, so in case he wants to upload big files it won't mess up the server space?

best regards
czeslav

Re: Products module - resizing files on uploads

Posted: Thu Dec 08, 2011 7:06 pm
by janaf
Not a solution to your question but still. You can set the maximum upload size in the config.php, then at least they should get an error message that the file is too large. However that would limit any upload file to that size, not just images.

Add

Code: Select all

$config['max_upload_size'] =
in the config.php file

Size is set in bytes.