Skip to content

Commit

Permalink
Fix for image size
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Jul 30, 2010
1 parent e1b2ae1 commit eb010eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/paragraph_feature.rb
Expand Up @@ -632,7 +632,7 @@ def image_tag_helper(tag,img,tag_opts) #:nodoc:
icon_size = attr.delete('size') || tag_opts[:size] || nil
size = icon_size #%w(icon thumb preview small original).include?(icon_size) ? icon_size : nil
size = nil if size == 'original'
img_size = img.image_size(size)
img_size = img.image_size(size) || []
shadow = attr.delete('shadow')
align = attr.delete('align')
field = attr.delete('field')
Expand Down

0 comments on commit eb010eb

Please sign in to comment.