Jelix 1.6.40

function.gravatar.php

Tags
subpackage

jtpl_plugin

author

Olivier Demah

contributor

Steven Jehannet

copyright

2009 Olivier Demah, 2010 Steven Jehannet

link
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

jtpl_function_html_gravatar()  : mixed
gravatar plugin : write the url corresponding to the image of the gravatar account identified by the given email address

Functions

jtpl_function_html_gravatar()

gravatar plugin : write the url corresponding to the image of the gravatar account identified by the given email address

jtpl_function_html_gravatar(jTpl $tpl, string $email[, array<string|int, mixed> $params = array() ]) : mixed
Parameters
$tpl : jTpl

template engine

$email : string

account

$params : array<string|int, mixed> = array()

parameters for :

  1. the default avatar URL
  2. the default size of the image
  3. the username to be put in the "alt" attribute of the img
Return values
mixed

Search results