EarlMax Posted August 20, 2010 Share Posted August 20, 2010 Hi thereI get this message when uploading images:1 error 1. image is too large (308.635KB). Maximum allowed: 300KBwhere can I change the settings for this?Thanks Link to comment Share on other sites More sharing options...
rocky Posted August 20, 2010 Share Posted August 20, 2010 I think it's a server setting that you can change with a php.ini file. For example, the following should allow file sizes up to 2MB: ; Maximum allowed size for uploaded files. upload_max_filesize = 2M Link to comment Share on other sites More sharing options...
dibs223 Posted September 1, 2010 Share Posted September 1, 2010 so what and where is this php file?and what code needs to go in it?Thanks Link to comment Share on other sites More sharing options...
rocky Posted September 2, 2010 Share Posted September 2, 2010 The file php.ini doesn't come with PrestaShop. Some hosts include it in the default files on your server. Other hosts don't include the file at all, so you will have to create it yourself. Link to comment Share on other sites More sharing options...
minhvaqn Posted January 22, 2011 Share Posted January 22, 2011 This problem happens when you try to add Category image.Go to admin folder/tabs/AdminCategories.php, line 19: protected $maxImageSize = 300000; Just append one '0' you will increase maximum category image filesize to 3MB. Link to comment Share on other sites More sharing options...
stefanosm Posted February 1, 2011 Share Posted February 1, 2011 @EarlMaxif you mean when customers upload images for customized products on the FO than go to BO => Preferences => Products => on the bottom of the list there is a setting with the upload image size. Link to comment Share on other sites More sharing options...
grsinternet Posted April 8, 2021 Share Posted April 8, 2021 In Prestashop 1.7 there are additional limits in PS back-office: Advanced Parameters -> Administration -> Upload Quota 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now