Table of contents

Description

Adds images from gravatar to person depending on their email address.

Responsible Person

Status

Status

Ready for Use

Info

Aggregation Features

Fill

No

Update

No

Enrich

Yes

Source Code

Project: https://github.com/soziotech/CommunityMashup/tree/master/sources/GravatarSourceService

Tracking

 
 
 

Used Service

Name

Gravatar

Link

https://de.gravatar.com/

Developer Portal

https://de.gravatar.com/site/implement/

Authentication

none

Registered Application

No need to register an application yet.

Used Libraries

No external libraries used.

Configuration

Key

Description

Possible Values

Default

Required (Yes/No)

imageSize

Size of the attached images.

1...512

150

No

imageRating

Hightest possible ranking of attached images.

  • g:  suitable for display on all websites with any audience type.
  • pg: may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.
  • r:  may contain such things as harsh profanity, intense violence, nudity, or hard drug use.
  • x:  may contain hardcore sexual imagery or extremely disturbing violence.
g, pg, r, xgNo
defaultImage

 Image that should be delivered if no image is associated with the email address.

  • mm: (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
  • identicon: a geometric pattern based on an email hash
  • monsterid: a generated 'monster' with different colors, faces, etc
  • wavatar: generated faces with differing features and backgrounds
  • retro: awesome generated, 8-bit arcade-style pixelated faces
  • or an url to an own default image

 

mm, identicon, monsterid, wavatar, retro
or any url of an image starting with http
mm No

Example:

<sources bundleId="org.sociotech.communitymashup.source.GravatarSourceService name="GravatarImages">
            <configuration>
                <properties Key="imageSize" Value="400" />
                <properties Key="defaultImage" Value="monsterid" />
            </configuration>
</sources>

Description

Adds an image from gravatar to all persons with email adresses. If the person (email) is not registered a monster picture will be created by gravatar as fallback.

Meta-Informations

Type

Description

Value

Items

MetaTag

MetaTag for all attached Images

gravatar

All attached Images

Transformation

External

CommunityMashup

Image

Image attached to person.