Posted 16 April 2010 - 02:12 PM
Posted 16 April 2010 - 02:31 PM
Posted 16 April 2010 - 02:43 PM
what if i want to use a local avatar in case the user does not have one
Posted 16 April 2010 - 02:59 PM
and i have done that, still shoes no image. but when i right click, view image it shows.
heres my view
'email' => $model->email, // email to display the gravatar belonging to it
'hashed' => false, // if the email provided above is already md5 hashed then set this property to true, defaults to false
'default' => 'http://127.0.0.1/site/images/avatar.jpg', // if an email is not associated with a gravatar this image will be displayed default http://www.mysite.co...vatar_image.jpg'
// by default this is omitted so the Blue Gravatar icon will be displayed you can also set this to
// "identicon" "monsterid" and "wavatar" which are default gravatar icons
'size' => 120, // the gravatar icon size in px defaults to 40
'rating' => 'PG', // the Gravatar ratings, Can be G, PG, R, X, Defaults to G
'htmlOptions' => array( 'alt' => 'Gravatar Icon' ), // Html options that will be appended to the image tag
Posted 17 April 2010 - 03:24 AM