Cyber Help Inc.


Welcome to the ImageStripHandler!

This program can be used to create counter, date, and time images using strip gif images. It can also create images using plain text for strings containing any type of character. The ImageStripHandler has the ability to alter the image via rotation, spin, inversion, and transparency. It also has the ability to create and update count files, allowing the user to keep track of things such as the number of hits on a website.

Table of Contents

Examples of Use
ImageStripHandler Directories
Config Parameters
Image Directory
CounterFile Directory
Log Directory



Brief Description

Default Value

text The text to be displayed in the image. Valid chararacters for strip use are:

Numbers, "A", "P", "M", ":", ",", "-", "/"

Any other character will automatically cause the image to be displayed as a string
If no string is provided, it will display a counter based on the CounterFile.
incr If true, will increment the CounterFile. false
cf The name of the CounterFile to increment. Valid extensions for the CounterFile are:

".txt", ".cnt", ".doc", ".docx"

resetcf Resets the provided CounterFile to 0. If no CounterFile is being provided it will reset the automaticlly created one (If it exists). false
bc The color of the border surrounding the image. Valid values for color are:

Color Names (i.e. "Blue", "Crimson", etc), Hex values (i.e. ffffff, 000000, etc)

bw The width of the border surrounding the image. 2
bg The color of the background for the image. (Mostly used with transparency) Black
fore The color of the text. Only used if the image will be displaying a string rather than a strip. Red
transparent If true, makes the background of the image transparent. false
str If true, creates the image using plain text rather than the strip. false
imgdir The name of the sub directory in the Images Directory containing the strip.gif file. ImgDirs can only contain:

Numbers, Letters, "-", "_"

spin Spins the image by 90/180/270 degrees. false
sd The amount to spin the image by. (90, 180, 270) 270
rotate Stacks the image vertically rather than horizontally. false
invert Returns the image with all colors negated. false
pad If true, inserts padding with 0's based on the max digits.

If the counter provided is longer than the max digits, the padding will be ignored

digits The maximum amount of digits. Any extra digits will be filled in with blank spaces (If pad is true, will fill with 0's)

If the counter provided is longer than the max digits, the max digits will be ignored

version Returns a string image with the version number. All other parameters will be ignored. false

Examples of Use

NOTE: You do not need to provide all of the parameters in the url. In fact, you dont need to provide any at all.
< img src="/ISH.aspx? >

< img src="/ISH.aspx?transparent=true&bc=Orange&bg=Black&fore=Red&text=12345&spin=true&sd=180&rotate=true&imgDir=Default&invert=true& >

< img src="/ISH.aspx?transparent=true&bc=Orange&bg=Black&fore=Red&text=12345&rotate=true&imgDir=Default >

< img src="/ISH.aspx?bc=Orange&bg=Black&fore=Red&text=12345&imgDir=Default&str=true >

< img src="/ISH.aspx?bc=Orange&bg=Black&text=12345&imgDir=Default >

The ImageStripHandler Directories

When you run the installer, the following folders will be made under the Install Directory you choose:

Install Directory:

By default it is set to:
C:\Cyber Help Inc\ImageStripHandler

Configuration Directory:

The location of the ISHConfig.xml file can be changed by going into the web.config for the program. By default it is set to:

Sub Directories

InstallDir\ImageStripHandler\CountFiles  (i.e. C:\ImageStripHandler\ImageStripHandler\CountFiles)
InstallDir\ImageStripHandler\Images  (i.e. C:\ImageStripHandler\ImageStripHandler\Images)
InstallDir\ImageStripHandler\Log  (i.e. C:\ImageStripHandler\ImageStripHandler\Log)

Config Parameters

The first time you run the ImageStripHandler, the config file will automatically be created with the following default parameters


Brief Description

Default Value

StartDir The location of the directory that contains the Images, CountFiles, and Log subdirectories [InstallDir]\ImageStripHandler
Strict If set to 1, only hosts/servers listed in the valid servers will be able to use the ImageStripHandler.
If set to 0, any and host/server can use the ImageStripHandler
CountFileCreate If set to 1, the count files will automatically be created when needed
If set to 0, ther count files must be created another way
ValidServers The list of valid host/servers names that can use the ImageStripHandler

Server names are separated by a ";" (i.e.;localhost)

The Images Directory

The Images folder in the ImageStripHandler directory is used to store the various folders containing your strip.gif files. You can name the directories containing the strip files whatever you wish, using a combination of only Numbers, Letters, Hyphens, and Underscores. Those are the names that you pass into the imgDir parameter of the ImageStripHandler.

The CountFiles Directory

The CountFiles folder in the ImageStripHandler directory is used to store the count files that are used for incrementing counters with the program. You can either create your own count files, or let the ImageStripHandler create them for you. These file names are passed into the cf parameter.

The Log Directory

The Log folder in the ImageStripHandler directory is used to store log files for the program.

Back To Top