푸른청년 푸르게 살고있나?  
home | 살아가기 | news | 세상보기 | tip&tech | 방명록 |  
   전체
   asp
   php
   jsp
   mssql
   mysql
   informix
   linux
   unix
   win2000
   javascript
   html
   oracle
   java
   etc
    
:: Tip&Tech > asp
[ASP]이미지 깨지지 않고 리사이징 하기
Set  objImg  =  LoadPicture(FilePath)
x1 = objImg.Width
y1 = objImg.Height

'response.write x1

if(x1 > 5800)then

x2 = 580
y2 = 580
if x1 >= y1 then
y2 = cint((y1 * x2) / x1)
else
x2 = cint((x1 * y2) / y1)
end if

response.write "<img src='"&imgFilePath&"' width='"&x2&"' height='"& y2 &"'><br>"
else
response.write "<img src='"&imgFilePath&"'><br>"
end if
set objImg = nothing

날짜: 2003-08-28 10:06:40, 조회수: 2329

다음글 [asp] 윈도우 asp에서 인포믹스 사용하기
이전글 [ASP] 리모트사이트의 페이지를 그대로 긁어오고 싶으면..

꼬리말
글쓴이 비밀번호 #스팸글방지(주인장 닉네임을 쓰시오)

1 1

2006-04-04 13:45:39


  
since by 2003.03.23 / 3th 2005.07.26 / 4th 2009.04.22 made by bluesoul