Increase 2MB limit when uploading a Photo to a page
-
Hi everyone, I have just installed WordPress on my MAC as a localhost.
I am a keen photographer and I will use the final site for my photography
All Photographs are over 2MB and rather than resizing them manually I have found a plugin to re-size them as you upload the image into WordPress. After they have been uploaded I will transfer the content and database to the web host.The problem I have is that WordPress has a restriction on the size of the file (2M) and will not attempt to upload the file in order for the plugin to take effect. I have read many posts however none of the recommendations have worked for me, I now seek your advice.
I have tried the following:
1.Modify the php.ini file in MAMP however it was already set to 32M for both:
post_max_size and upload_max_filesizeThe location of the php.ini file in my installation is:
MAMP/bin/php/php5.6/conf/php.ini2. Created a .htaccesss file in the wordpress root dir with the following:
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300In WordPress itself it has a txt line in the page that stipulates that the max upload filesize is 2M, is this fixed, are we able to change it?
- The topic ‘Increase 2MB limit when uploading a Photo to a page’ is closed to new replies.