On Fri, Jan 30, 2009 at 5:28 AM, [email protected]
<[email protected]> wrote:
>
> I know we've had it here in the group a couple of times. But i am
> still wondering how to get rid of gravatar.
In the profile_helper.rb removing any replace avatar_tag with img_tag
should do the trick. This is the method I use in non-gravatrared apps:
def icon person = nil, size = :small
return image_tag(icon_path( person, size)) if person.blank?
img_tag = image_tag icon_path( person, size), :title=>person.f,
:alt=>person.f
img_tag rescue ''
end
cheers,
steven bristol
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---