Skip to content

Detect if Gravatar is default image #145

@IsenrichO

Description

@IsenrichO

Is there a quick way to detect if the image that react-gravatar components render is the default/fallback image? I'd like the ability to do some custom rendering (namely, put user's initials in a <div/> with some background-color if the user has no actual Gravatar image registered for his/her email. In that vein, I'd like to know if the default get's returned or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions