큰 이미지 폭 사이즈 변경

This commit is contained in:
chicpro
2013-04-23 13:40:43 +09:00
parent 4ed5de2ba6
commit aa254c27b8

View File

@ -535,8 +535,8 @@ $pg_anchor ='<ul class="anchor">
var $img = $("#"+sit_wimg_id[1]);
var width = $img_display.width();
var height = $img_display.height();
if(width > 750) {
var img_width = 750;
if(width > 700) {
var img_width = 700;
var img_height = Math.round((img_width * height) / width);
$img_display.children("img").width(img_width).height(img_height);