Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nima-rahbar authored Sep 10, 2017
1 parent 18860a0 commit be37f7e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# CakePHP-3-Gravatar
Get Gravatar Image

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

0 comments on commit be37f7e

Please sign in to comment.