jquery按比例压缩图像
<%@ include file="/jsp/parents/jsp/utils.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>精彩瞬间详情</title>
<link href="${basePath}css/popUpImg/popImage.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="${basePath}js/jquery-1.7.1.min.js" ></script>
<script type="text/javascript" language="javascript" src="${basePath}js/popUpImg/jquery.popImage.mini.js" ></script>
<script type="text/javascript" language="javascript" src="${basePath}js/jquery.ae.image.resize.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#imageJcInfo img" ).aeImageResize({width: 160, height: 120 });
$("#imageJcInfo img").popImage({"tagName":"src"});
});
</script>
</script>
</head>
<body>
<div id="imageJcInfo" style="text-align:left;" >
<img src="'../images/a.jpg'" width="160" height="120" autosize="yes"/>
</div>
</body>
</html>