Skip to content

nima-rahbar/CakePHP-3-Gravatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP-3-Gravatar

Get Gravatar Image

Copy GravatarHelper To App/src/View/Helper.

Add helper in app/src/View/AppView.php:
$this->loadHelper("Gravatar");
Call it anywhere in your views:
$this->Gravatar->get_gravatar('Email Address', 'Image Width & Height', 'Default Image', 'Image Rate', 'With Image Tag or Not (true/false)');