分享的图片存在失真现象
Reported by yuanyi | 2009-10-19 20:52:04 UTC | in 1.0.4
比较一下这两个帖子:
http://www.1kg.org/shares/1000560
http://anzhu.net/2009/10/15/加甲老师、樊老师和英子/
图像有明显的失真,是不是强制改变了图片的宽度,而没有按比例缩放??
Comments and changes to this ticket
-

makestory 2009-10-19 21:33:43 UTC
- State changed from new to open
类似ticket #58 修改页面元素溢出 http://1kg.lighthouseapp.com/projects/35907/tickets/58-0a53cc989afe...
-

makestory 2009-10-20 10:23:16 UTC
- State changed from open to resolved
-

suave 2009-10-20 15:22:46 UTC
(from [2d423c2daee6addd275c773a57d71e3839f0182e]) 加入js控制图片大小 [#171 state:resolved] [#58 state:resolved] http://github.com/Suave/1kg.org/commit/2d423c2daee6addd275c773a57d7...
-

makestory 2009-10-21 11:43:47 UTC
备忘:
做法是在footer加上了:
$('#content-primary img').removeAttr('height'); $('#content-primary img').each(function(){if($(this).attr('width') > 580){$(this).attr('width',580)}})
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Referenced by
-
171
分享的图片存在失真现象
(from [2d423c2daee6addd275c773a57d71e3839f0182e])
加入js控制图...
-
58
修改页面元素溢出
(from [2d423c2daee6addd275c773a57d71e3839f0182e])
加入js控制图...