I stumbled across the same topic but in my opinion it is just a wrong error message when editing images:
edit-imc_issues.php says: “Photo size must be less than 2MB, please resize it or select a smaller one!”
insert-imc_issues.php says: “Photo size must be smaller in size, please resize it or select a smaller one!”
The function to calculate the max size is the same in both cases. Hence, using the exact same too large image while creating a new issue and when editing an existing issue, should result in an error message (with a different wording). In your case, an image below 4 MB should not give an error message in both cases.
Cheers.
Thank you for your opinion.
It’s a wrong message indeed, but image can’t be sent. I would like to know how to bypass the problem.
Cheers.
IMC returns a file size limit in bytes based on the PHP upload_max_filesize and post_max_size (imc-core-functions.php). My phpinfo shows values up to 2 Mb.