Event Image size limit

Home Forums Calendar Products Community Events Event Image size limit

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #931948
    Mark Robinson
    Participant

    I’ve had to hide the image upload feature from my form as I don;t trust the fact that users will upload enormous untreated images to the site.

    Is there way to define a filesize / dimensions limit to image uploads?

    #932098
    Brian
    Keymaster

    Hi again,

    The image size is the limit set PHP for uploads.

    However, you could try adding this:

    <input type=”hidden” name=”MAX_FILE_SIZE” value=”4194304″ />

    (that is in bytes and is 4mb limit)

    to this file after moving it to your theme per the themer’s guide:

    the-events-calendar-community-events\views\community\modules\image.php

    That might get you what you are looking for, but otherwise we do not have any options for this.

    Let me know if you have any follow up questions.

    Thanks

    #943606
    Brian
    Keymaster

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Event Image size limit’ is closed to new replies.