MainExamplesDocumentationRegistration  


 Latest online examples
Upload & resize


 Latest scripts
VBS script resizing images
Translucent frame over image
3d pie chart
 

  Examples

This page contains ASP/VBS examples using ShotGraph. All source codes for examples are published and already included in some example pages. However, if the source code contains two or more files, the source code for such examples available for download on this page. All source codes can be freely distributed and modified.
Click on the title of example to visit script demonstration/description page.
To download source code, click the sign.

Online examples

Upload & resize Download script source code
This package contains two examples:
  1) The first one shows webform that allows you to upload an image file to webserver. Webform has the 'type=file' input field. The application receives image, builds image thumbnail and shows it
  2) The second example is designed for digicam images. This examle shows webform that allows you to upload image to webserver. This script extracts and displays EXIF and IPTC image information. Optionally it builds image thumbnail.
Pie chart Download script source code
Script draws simple HTML document containg form and pie chart image. Changing values in form input fields you change values on the pie chart. o run example on your server, copy the files from downloadable package into one of your Web server directories and run the piechart.asp file.
Bar chart Download script source code
Script draws simple HTML document containg form and bar chart image. Changing values in form input fields you change values on the bar chart. To run example on your server, copy the files from downloadable package into one of your Web server directories and run the bars.asp file.
Preventing HTML forms from being auto-submitted by robots Download script source code
Script shows one of possible ways how you can build a HTML form containing text as image for goals of verification. Web user should enter that text into field of HTML form.
ASP Web counter  
Script shows how you can build a simple classic graphic counter for web pages.
Smart imagemap  
Short ASP script showing how to build dynamic clickable server-side image.

Cool scripts

Resize all (photo)images in directory to desired size Download script source code
This VBS script can help you to auto-resize all images in specified directory to desired size. Source images are not overwritten: script writes files with new names. Script optionally can print date/time when image was taken (from Exif data)
Translucent frame over image  
This script gets original image from file, resizes it, places white semi-transparent frame over thumbnail and write image to disk file.
Line chart from SQL query Download script source code
Script demonstrates how you can build a chart from database data. Downloadable package contains ASP scripts for line chart examples and small MS Access database with data.
3d pie chart Download script source code
Script shows how to draw 3D looking pie chart having several slices. Downloadable package contains the only pie.asp file. That script requires different query string parameters. See the brief description on this site or look into comments in the beginning of script body.
Drop a shadow  
Script draws over image rectangle containing text. The rectangle casts a semi-transparent shadow over image.
Index file of images  
Script gets image files from one directory and create group of images. Every image in the group contains several thumbnails in a grid and file name under every thumbnail. You can alter the number of thumbnails in every row and column.
Preview of image (thumbnail)  
Script shows how to resize image using ShotGraph. This is the shortest script showing the essence.
Preview of movie files  
Script builds image of the first frame of animation using COM features of Windows Media Player
Converting Excel chart to Gif  
Script shows how to save Excel chart to Gif format using VBS or VBA.

© 1998-2004 Mikhail Tchikalov
Email to contact: mtchikalov@usa.com