I read over this page - https://en.gravatar.com/site/implement/images/ - and looked at other posts, but it's not working for me.
Here's the code I'm using:
def gravatar_for(user, options = { size: 50 })
gravatar_id = Digest::MD5::hexdigest(user.email.downcase)
options[:default] = image_tag("https://s3.amazonaws.com/bucketname/image/default_gravatar_70.png")
size = options[:size]
gravatar_url = "https://secure.gravatar.com/avatar/#{gravatar_id}?s=#{size}"
image_tag(gravatar_url, alt: user.name)
end
I want whatever is in the link below to be the default gravatar for all new users. https://s3.amazonaws.com/bucketname/image/default_gravatar_70.png
But I'm still get the classic gravatar default.