Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Mark Johnson's Profile

GitHub User: hkjohn2001

Comments by Mark Johnson

Avatar

Is anyone having a problem displaying the profile_image_url? My code is below. The only thing that will display is the alt text of the img, never the image itself. However, when I review HTML, it has a url in the img and if I hover over the link it displays the image itself. This tells me the path is correct.

Any suggestions would be greatly appreciated.

ruby
<% if Twitter.rate_limit_status.remaining_hits > 1 %>
  <% Twitter.search(Channel.find(params[:id]).channel_name, :lang => "en", :rpp => 4, :result_type => "recent").each do |tweet| %>
    <%=image_tag(tweet.profile_image_url, :size => "16x10") %>
    <blockqoute><%= tweet.text %></blockqoute>
    <hr>
  <% end %>
<% end %>