Permalink
Browse files

specify image dimensions for pictures in the guides credits page

  • Loading branch information...
1 parent 639dca4 commit aedc627f0692c782176350466ae61e5df70718de @fxn fxn committed Jun 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/rails_guides/helpers.rb
@@ -15,7 +15,7 @@ def guide(name, url, options = {}, &block)
def author(name, nick, image = 'credits_pic_blank.gif', &block)
image = "images/#{image}"
- result = content_tag(:img, nil, :src => image, :class => 'left pic', :alt => name)
+ result = content_tag(:img, nil, :src => image, :class => 'left pic', :alt => name, :width => 91, :height => 91)
result << content_tag(:h3, name)
result << content_tag(:p, capture(&block))
content_tag(:div, result, :class => 'clearfix', :id => nick)

0 comments on commit aedc627

Please sign in to comment.