问题跟踪图片压缩不清晰

This commit is contained in:
whimlex 2015-04-29 10:11:50 +08:00
parent ee0ef7dc69
commit b5b50bef21
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ module ApplicationHelper
end
def thumbnail_issue_tag(attachment)
imagesize = attachment.thumbnail(:size => "50*50")
imagesize = attachment.thumbnail(:size => "200*200")
imagepath = named_attachment_path(attachment, attachment.filename)
if imagesize
link_to image_tag(thumbnail_path(attachment), height: '73', width: '100'),