缺陷图片显示小
This commit is contained in:
parent
1a33510da1
commit
7e833a4727
|
@ -329,7 +329,7 @@ module ApplicationHelper
|
||||||
imagesize = attachment.thumbnail(:size => "50*50")
|
imagesize = attachment.thumbnail(:size => "50*50")
|
||||||
imagepath = named_attachment_path(attachment, attachment.filename)
|
imagepath = named_attachment_path(attachment, attachment.filename)
|
||||||
if imagesize
|
if imagesize
|
||||||
link_to image_tag(thumbnail_path(attachment,"50")),
|
link_to image_tag(thumbnail_path(attachment), height: '73', width: '100'),
|
||||||
imagepath,
|
imagepath,
|
||||||
:title => attachment.filename
|
:title => attachment.filename
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue