Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Cover Photo Option


  • DesignLoud
    Participant

    @designloud

    I am trying to figure out how cover photos are saved to users in the database. What I want to do is integrate an option on the Profile > Cover Photo section for the option for the user to remove a cover photo. Looking in the database I cannot seem to find where these are stored. Can someone show me an example on how to implement a “Remove Cover Photo” button/option or point me in the direction on how to accomplish this?

    Note I dont want to disable cover photos completely, just offer the ability for the user to remove the cover photo which will be replaced by a white background.

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp
    Moderator

    @shanebp

    The images are not stored in the database.
    They are stored in the uploads folder.
    For a member with user_id = 1:
    /wp-content/uploads/buddypress/members/1/cover-image/

    To remove the cover photo, use the ‘Delete My Cover Image’ button at the bottom of this screen:
    .../members/designloud/profile/change-cover-image/

    If you don’t see that button, it may be an issue with your theme.
    To confirm, try switching momentarily to a WP theme like 2013


    DesignLoud
    Participant

    @designloud

    Hmm, it must be a theme override; is that button documented anywhere so that I can inspect the code that runs it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Cover Photo Option’ is closed to new replies.
Skip to toolbar