Hiding image upload button

Home Forums Calendar Products Community Events Hiding image upload button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1069980
    eastlife
    Participant

    Hi, I just wanted to share to you the solution I am using to remove the image upload as it appears in the event creation form. I am doing this to address this issue: https://theeventscalendar.com/support/forums/topic/problem-with-email-notifications/

    But this may also be useful to other people who, for whatever reason, do not want to give users the ability to upload images to the site.

    By default the “Event Image” section appears on the form between “Event categories” and “Event Time & Date”:

    The id of this section is #event_image_uploader so to hide it just add the following css:

    #event_image_uploader {
    display: none;
    }

    And lo and behold the option will “disappear”. To make it re-appear simply remove the code or change it to “display: block”

    Hope that helps anyone out there who wants to remove this field.
    NOTE: This will work for other fields as well but some fields are required for the form to submit so you should avoid hiding those.

    #1070299
    Geoff
    Member

    Heck yeah, thanks for the tip @eastlife! I’m always stoked to see people helping other people in these forums and certainly appreciate you adding to the mix here. 🙂

    I’ll go ahead and close this thread but do feel free to hit us back up for anything else and we’d be happy to help.

    Cheers!
    Geoff

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Hiding image upload button’ is closed to new replies.