<% Response.Expires = 0 ' create instance of AspJpeg Set Jpeg = Server.CreateObject("Persits.Jpeg") ' Open source file Jpeg.Open( Request("path") ) ' Set new height and width if jpeg.Width>cint(Request.QueryString("Width")) then Jpeg.Width = Request("Width") Jpeg.Height = Jpeg.OriginalHeight * Jpeg.Width / Jpeg.OriginalWidth end if ' Perform resizing and ' send resultant image to client browser Jpeg.SendBinary %>