• Hello,

    Creating a new issue, image can be larger than 2 Mb (my server is configured up 4 Mb).

    When editing, if we want to send a new image, it must be up 2 Mb. What’s going on?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter jmruas

    (@jmruas)

    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.

    Thread Starter jmruas

    (@jmruas)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image larger 2 Mb is not welcome when editing issue’ is closed to new replies.