This little tutorial will show you how to save on disk a thumbnail image of a HTML webpage.
You will have write permission on the local folder.
<%
Set Snap=CreateObject("DypsWebCapture.Snapshot")
'Launch a virtual browser window with the dimension :800x600
Snap.pageHeight =600
Snap.pageWidth = 800
'Specify the width and height of the image thumnail
Snap.thumbHeight = 130
Snap.thumbWidth = 170
'Grab the web page snapshot on the fly!
'and save it as jpg image
'Be sure to have write permission on the local folder
'for IUSR_YourNameMachine account!
Snap.GetURL "http://dypso.free.fr",Server.MapPath("dyps.jpg")
'Clean memory
Set Snap = Nothing
%>
discuss this topic to forum
