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.
under avatar_sources.rb So far I removed it from the chain:
#require 'sized_gravatar_source'
#chain << SizedGravatarSource.new(default, :email)
But I am getting nil errors around this line
<%= icon @profile, image_size, {:id =>
'image'+uniqueid.to_s, :style=>"border:none;"}%>
so I investigated the helper method for it
def icon profile, size = :small, img_opts = {}
return "" if profile.nil?
img_opts = {:title => profile.full_name, :alt =>
profile.full_name, :class => size}.merge(img_opts)
link_to(avatar_tag(profile, {:size => size, :file_column_version
=> size }, img_opts), profile_path(profile))
end
Here it is using avatar_tag which i cant find the definition for
anywhere...
Do you have any cookbook recipe how to resolve the gravator
integration. Help is greatly appreciated.
--~--~---------~--~----~------------~-------~--~----~
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?
-~----------~----~----~----~------~----~------~--~---