https://github.com/flownative/flow-gravatar
Gravatar View Helper for Flow
https://github.com/flownative/flow-gravatar
Last synced: about 2 months ago
JSON representation
Gravatar View Helper for Flow
- Host: GitHub
- URL: https://github.com/flownative/flow-gravatar
- Owner: flownative
- License: mit
- Created: 2016-01-06T17:06:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-02T06:29:58.000Z (about 2 years ago)
- Last Synced: 2025-03-09T03:16:35.734Z (3 months ago)
- Language: PHP
- Size: 41 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](http://opensource.org/licenses/MIT)
[](https://packagist.org/packages/flownative/gravatar)
[](https://www.flownative.com/en/products/open-source.html)# Gravatar View Helper for Flow
This package provides a Fluid View Helper which can be used in Neos Flow based applications for displaying
Gravatar images.## Installation
The Flownative Gravatar package is installed as a regular Flow package via Composer. For your existing project,
simply include `flownative/gravatar` into the dependencies of your Flow or Neos distribution:```bash
$ composer require flownative/gravatar:~2.0
```## Usage
In your Fluid template, use the Gravatar View Helper like any other view helper. Possible arguments for the view
helper are:|Argument|Required ?|Description|
|--------|----------|-----------|
|email |yes |specifies the email address of the Gravatar to display|
|size |no |the size in pixels (used for width and height)|
|default |no |a URL pointing to a fallback image if no Gravatar exists for the given email address. Instead of a URL, the "default" parameter can also be one of "404", "mm", "identicon", "monsterid", "wavatar", retro" or "blank"|```html
{namespace gravatar=Flownative\Gravatar\ViewHelpers}...
```