Skip to content

Commit

Permalink
image preview
Browse files Browse the repository at this point in the history
  • Loading branch information
ekubal committed Feb 11, 2016
1 parent ea62366 commit 8c1ad81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/waste.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def packaging_types

def image_preview
if self.picture?
"<img src='#{self.picture.url}' alt=''>"
"<img src='#{self.picture.url}' alt='' style='max-width: 200px; max-height:150px'>"
else
nil
end
Expand Down

0 comments on commit 8c1ad81

Please sign in to comment.