Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

use image as background #34

Description

@abdulqadir-ml

Hello. I'd like to use gravatar images as background. Is there any way to do this currently? I've replaced this line (line no 423):

element.attr('src', gravatarService.url(newVal, opts));

with this:

element.css({'background-image': gravatarService.url(newVal, opts)});

I had to move this library out from bower to libs folder for this simple task. But I'm sure I'm missing out something! Any help would be appreciated. Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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