Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Depends on what you’re doing to display the uploaded image. If you’re talking about replacing the WP’s default avatar with a locally uploaded image, there’s more to that process than just uploading the image.

    The plugin’s image (and file) upload is just an uploader. What you do with it is up to you.

    Images can be directly displayed using the [wpmem_field] shortcode. There is documentation here:
    http://rocketgeek.com/plugins/wp-members/docs/shortcodes/field-shortcodes/

    To replace the avatar displayed with get_avatar(), you can filter it with the filter hook of the same name (‘get_avatar’):
    https://codex.wordpress.org/Plugin_API/Filter_Reference/get_avatar

    Thread Starter squaredsquared

    (@squaredsquared)

    Thanks for you response

    Thread Starter squaredsquared

    (@squaredsquared)

    @cbutlerjr

    Thanks for your response.
    Although I put [wpmem_field my_image size=medium] to display the image that I upload. It still display nothing. Sorry I am not good at WP so I hope you can help me with it.

    Thread Starter squaredsquared

    (@squaredsquared)

    @cbutlerjr

    I am creating an alumni website where the user can have an account that display their information (and can edit it), the other member can view the information of the other member on the userlist.

    Plugin Author Chad Butler

    (@cbutlerjr)

    In the shortcode you indicated [wpmem_field my_image size=medium] “my_image” would be the option name of the field that you are trying to display.

    Looking at the Fields tab, is “my_image” the option name for this field?

    If not, that’s the issue.

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

The topic ‘Profile Picture’ is closed to new replies.