<script type=text/javascript>
$(document).ready(function() {
$(''''.con'''').find(''''img'''').each(function() {
var maxWidth = 800;
var ratio = 0;
var width = $(this).width();
var height = $(this).height();
if (width > maxWidth) {
ratio = maxWidth / width;
$(this).css("width", maxWidth);
$(this).css("height", height * ratio);
height = height * ratio;
}
});
});
</script>
※ 원본게시물 링크 주소 입니다.(링크를 클릭하세요)