rkraemer Posted July 21, 2016 Share Posted July 21, 2016 I try the Pwbs4 Site template and I found that the Image upload the the Home page is not possible because the upload size limit is to small. How can I use setMaxFileSize methode on the page template file to correct this? Thanks for your support in advance .. Link to comment Share on other sites More sharing options...
cstevensjr Posted July 21, 2016 Share Posted July 21, 2016 I believe that is strictly determined by your PHP settings. Link to comment Share on other sites More sharing options...
fbg13 Posted July 21, 2016 Share Posted July 21, 2016 As said above you have to change it in one of php's configuration files. ; Maximum allowed size for uploaded files. upload_max_filesize = 40M ; Must be greater than or equal to upload_max_filesize post_max_size = 40M Quote PHP_INI_PERDIR: Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini (since PHP 5.3) http://php.net/manual/en/ini.core.php#ini.upload-max-filesize http://php.net/manual/en/ini.core.php#ini.post-max-size http://php.net/manual/en/configuration.changes.modes.php 1 Link to comment Share on other sites More sharing options...
Robin S Posted July 22, 2016 Share Posted July 22, 2016 Or maybe you mean the min/max image dimension limits? Fields > [image field] > Input... Link to comment Share on other sites More sharing options...
rkraemer Posted July 23, 2016 Author Share Posted July 23, 2016 Thanks, this solve my issue. I forgot this main setting. 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