Event image upload – how to limit size?

Home Forums Calendar Products Community Events Event image upload – how to limit size?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1028827
    Uroš
    Participant

    Hi,

    Is there an option to limit the image upload size when the organizer is creating an event?

    The limit is currently set to

    Images that are not png, jpg, or gif will not be uploaded. Images may not exceed 50 MB in size.

    which is huge.

    How to change this?
    Thanks!

    #1029695
    Barry
    Member

    Hi Uroš,

    That figure (50MB) simply reflects your current PHP configuration, so one approach here could be to adjust that value. Typically this is done by amending the php.ini file – though in some installations it is possible to change it with an amendment to your .htaccess file instead.

    If you are unsure how to do this or which approach will work best in your environment I’d recommend chatting with your webhost.

    Alternatively, you could leave that be and add an extra validation step which discards images that are too large (or chops them down to size) only when they have been posted through the frontend Community Events submission form – that way you could still upload larger files from within the admin environment.

    I hope that gives you some ideas you can work with 🙂

    #1043685
    Derek Pennycook
    Participant

    i use the imsanity plugin – give it a go (FREE)

    #1045356
    Barry
    Member

    That definitely sounds like it could be useful here – thanks for sharing, Derek 🙂

    #1076361
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Event image upload – how to limit size?’ is closed to new replies.