Click here to return to the home page
HostingServicesComponentsSupport
 

Latest news

Anti virus email
Junk email filtering
Technical
Location
Network structure
SLA
Terms & conditions
WiSS design

 

 

Copyright © WiSS Limited
All rights reserved

 

Intro | JMail | ASPEmail | ASPEncrypt | ASPGrid | ASPUload | SAFileUP | ImageSize | GUID | LastMod | ASP Resources

ImageSize

ImageSize will determine the image height and width on most BMP, PNG, GIF and JPG files.

<html>
<head>
<title>Image Size Demo</title>
</head>
<body>
<blockquote>
<blockquote>
<p>
<br>
<br>
</p>
<%
Dim Img

sub CheckFile (strFileName)
set Img = Server.CreateObject ("ImgSize.Check")
Img.FileName = strFileName
if Img.Error <> "" then
Response.Write "An error occurred in processing this image.<br>"
Response.Write "The error was: <b>" & Img.Error & "</b>"
else
Response.Write "<p>Image <b>" & strFileName & "</b> successfully read.<br>"
Response.Write "Image Height = <b>" & Img.Height & "</b><br>"
Response.Write "Image Width = <b>" & Img.Width & "</b></p>"
end if

set Img = nothing
end sub

CheckFile ("d:\inetpub\wwwroot\images\569.jpg")
CheckFile ("d:\inetpub\wwwroot\images\cloudy.jpg")
CheckFile ("d:\inetpub\wwwroot\images\chart1.bmp")
CheckFile ("d:\inetpub\wwwroot\images\aspdevlogo.gif")
CheckFile ("d:\inetpub\wwwroot\images\write.gif")
CheckFile ("d:\inetpub\wwwroot\images\smpchrt1.png")
CheckFile ("d:\inetpub\wwwroot\images\toast.png")


%>

</blockquote>
</blockquote>
</body>
</html>

There is no technical information for this component. Component supplied by www.serverobjects.com.

Please note: We do not provide support on components we offer. You will find links to the relevant vendor on each page where appropriate. Our licensing of components does not cover your local installation.

 

 
Mae WiSS yn cwmni dwyieithog
WiSS Ltd : Intec : Parc Menai : Bangor : Gwynedd : LL57 4FG