iSeeMedia ZOOM Plug-in Viewer
|
| Toolbar Button | Function | Keyboard Shortcut |
| Open/Close Toolbar |
Opens and closes the toolbar.
|
|
| Zoom In |
Zooms into the image. Click Zoom
In, then click anywhere in the viewer window. To Zoom in continuously,
hold down the mouse button.
Note: |
Shift or Z |
| Zoom Out |
Zooms out of the image. Click Zoom Out, then click anywhere in the viewer window. To Zoom out continuously, hold down the mouse button. | Control or A |
| Pan Vista |
Pans a vista or rotates an IMOB. Click Pan Vista and drag the pointer over the vista or IMOB. | |
| Pan Image (2D mode only) |
Pans a 2D Flashpix IMOB. Click Pan Image and drag the pointer horizontally or vertically over a 2D Flashpix IMOB. This button works best after you Zoom in to view a larger portion of the IMOB. | |
| Initial View (appears only for
2D Flashpix images) |
Returns a Flashpix image to initial view after you've Zoomed in. | |
| Print (appears only for 2D Flashpix
images) |
Prints a 2D Flashpix image if
enabled by the image provider. Note: To enable this button, you must define the printSRC parameter. |
|
| Show Hotspots |
Shows any hotspot links. If there are no hotspots, this button appears dimmed. | Spacebar or H |
| Save (appears only for 2D Flashpix
images) |
Saves the image to the user's local drive
or an FTP site as defined by the image provider. Note: To enable this button, you must define the saveSRC parameter. |
|
| Information |
Opens an HTML document with user information about the iSeeMedia ZOOM Plug-in Viewer. |
To embed a Flashpix image (FPX) or a panorama (IVR) in an HTML page for viewing with the iSeeMedia ZOOM Plug-in Viewer, use the <EMBED> tag. The parameters for the <EMBED> tag are similar to those you use for other browser plug-ins.
The parameters in the <EMBED> tag are:
Note: The syntax for the optional toolbar parameter is toolbar="on/off." The default value is "on."
The following example shows the <EMBED> tag with the URL to a Flashpix file, the width and height of the viewer window, and the toolbar turned off.
| <EMBED SRC="http://209.148.14.246:8087/?fif=cqa/road.fpx" WIDTH=400 HEIGHT=300 toolbar="off"></EMBED> |
Note: The width of the viewer window must be at least 240 pixels to display the entire toolbar when the toolbar is turned on.
As you can see in the example above, you identify the image to you want to display using the SRC parameter. For IVR files, enter a simple URL. For example, SRC="mypano.ivr"identifies a file in the current directory; SRC="www.yourdomain.com/mypano.ivr" identifies a file on another server. For Flashpix files, see the next section, "Specifying a remote path for Flashpix images."
The iSeeMedia ZOOM Plug-in Viewer retrieves the Flashpix images from the iSeeMedia ZOOM Server, so make sure that you specify the correct and complete remote path for each Flashpix image. You must use the entire URL to the document root directory, not just the relative path. The URL is as follows:
http://image_server_host_id:image_server_port/?fif=image
where:
Note: The Flashpix Photoshop® plug-in lets you change compression for Flashpix images and is available for both Windows and Macintosh. On Macintosh, you can also change compression using the Batch Converter. For more information, see the Batch Converter documentation in the Documentation folder on your iSeeMedia ZOOM Server CD-ROM or visit the iSeeMedia Software web site at http://www.iSeeMedia.com/.
The iSeeMedia ZOOM Plug-in Viewer provides the same features as the iSeeMedia ZOOM Control Viewer. Using simple JavaScript™, you can tell the browser to test the criteria for downloading the plug-in or loading the Control viewer. Here's an example of the JavaScript used to detect the browser type:
<script language="JavaScript">
<!--
// Put in the correct object, either plug-in or control viewer
if (navigator.appName == "Microsoft Internet Explorer" &&
navigator.platform == "Win32")
{
document.writeln("<OBJECT ID=\"viewer\"WIDTH=400 HEIGHT=300 CLASSID="CLSID:3F0EECCE-E138-11D1-8712-0060083D83F5\" CODEBASE="http://www.iSeeMedia.com/ActiveX/LPControl.cab#Version=3,0,0 29"><PARAM NAME=\"url\" VALUE=\"bounce.ivr\">/OBJECT>"
);
}
else
document.writeln("<embed type=\"i-world/i-vrml\" width=\"400\" height=\"200\" src=\"bounce.ivr\" name=\"viewer\" align=\"middle\">");
{
}
// -->
</script>
|
Most of the parameters in this section are for 2D Flashpix images. The only parameter that is specifically for panoramas is autoSpin. You add these parameters to the <EMBED> tag.
Note: To set hotspots and the initial view for panoramas, you need to edit the IVR file. For more information, visit the iSeeMedia Software web site at http://www.iSeeMedia.com/.
The parameters in this section include:
Note: For best results across platforms, pay attention to case-sensitivity when specifying control parameters.
Function: The autoSpin parameter controls whether a panorama (IVR file) rotates automatically and at what speed.
Syntax: AutoSpin="10">
Values: The value is an integer, which can be zero, positive, or negative. The default value is +5, which causes the panorama to rotate. For best results, use a value between -10 and +10. A positive value causes the panorama to rotate from left to right. A negative value causes the panorama to rotate from right to left. Higher numbers cause the panorama to rotate faster; lower numbers cause it to rotate slower.
Comments: When you specify a value other than zero, the panorama rotates automatically until you interact with it by Zooming in or out, dragging the pointer over it, or activating hotspots. This stops the automatic, continuous rotation. When you reload the HTML page, the panorama rotates automatically again.
Function: Lets you set the color that surrounds a 2D Flashpix image if it doesn't completely fill the viewer window.
Syntax: backgroundColor="255, 255, 255"
Values: The values are integers between 0 and 255, which represent "r, g, b." For example, "255, 255, 255" is white. The default is"0, 0, 0," which is black.
Function: These parameters let you use your own customized image as a background that surrounds a 2D Flashpix image.
Syntax: backgroundImage="imageURL"
leftMargin="pixels" topMargin="pixels" displayWidth="pixels" displayHeight="pixels"
where:
Values: The values are integers that represent pixels. Note that the sum of the displayWidth and leftMargin values should not exceed the width dimension in the <EMBED> tag. Similarly, the sum of the displayHeight and topMargin values should not exceed the height dimension.
Comments: You can use JPEG or GIF images as background images. The image is resized automatically to fit the viewer window (as defined in the <EMBED> tag). To optimize download times, make the part of the background image that is covered by the subwindow a solid color. This achieves better compression ratios.
Function: Lets you set whether or not to allow Zooming in past the maximum resolution of a 2D Flashpix image.
Syntax: enableZOOMPastMax="on"
Values: The values are "on" or "off." The default value is "off."
Function: This parameter lets you define hotspots in 2D Flashpix images. Hotspots are areas in the image that, when clicked, cause a new action to happen. You can use hotspots to link Flashpix images together, load a new HTML page, play audio clips, and more.
Syntax: You must put a number after the hotspot name. The number zero is not valid. The syntax includes required and optional parameters. A generic example of this parameter is:
hotSpot1="x1, y1, x2, y2, URL, Description, To_Frame, Visibility, DeActivation"
where the required parameters are:
Defining the coordinates: If you're not sure of the coordinates to use for hotspots, you can use an image-editing application to obtain image size in pixels and pixel coordinates so you can translate them into relative coordinates.
| Example:
106 (x1) ÷ 500 = .2, 66 (y1) ÷ 300 = .2 346 (x2) ÷ 500 = .7, 196 (y2) ÷ 300 = .7 |
The relative values for this upper left coordinate are 0.2, 0.2 The relative values for this lower right coordinate are 0.7, 0.7 |
Optional Parameters: The following table describes the optional parameters you can use in the hotspot syntax after you specify the URL.
| Optional parameter | Description |
| description | This parameter lets you display text in the browser status bar when the pointer passes over a hotspot. If you omit this parameter, the URL appears in the status bar. |
| to_frame | This parameter lets you specify the frame into which the URL should be loaded. If you use this parameter, you must also specify the description parameter. Otherwise, the viewer interprets the syntax of the to_frame parameter as the text to appear in the status bar. |
| visibility | This parameter defines when a hotspot is activated and is measured in pixels. A visibility of 25, which is the default value, means that the hotspot has to be more than 25 pixels (5 X 5 square) on the screen to be active. |
| deactivation | This parameter indicates when a hotspot is no longer active. The floating point values can range from 0 to +1. The default value is 0.5. If the hotspot is bigger than the number value for the percentage of the screen area, the hotspot will not appear. |
Function: This parameter controls the initial viewpoint within a 2D Flashpix image, which is what you first see when the viewer displays the image.
Syntax: initialView="0.2, 0.2, 0.8, 0.8"
Values: The values are floating point and represent "x1, y1, x2, y2," which are the coordinates for the initial view area. The values can be 0 to 1.0.
Comments: x2 > x1 and y2 > y1
Function: This specifies a location to get data for a 2D Flashpix image. This parameter must be defined to print a Flashpix image.
Syntax: printSRC="http://192.168.168.43:8087/?fif=cat.fpx"
Values: If you're viewing from the Web, the value is the URL to the Flashpix image on the iSeeMedia ZOOM Server.
Function: This parameter lets you save a 2D Flashpix image to your computer when you click the Save button in the viewer toolbar. The Save button will be disabled unless you set this parameter in your <EMBED> tag.
Syntax: saveSrc="http://192.168.168.43:8087/?fif=cat.fpx"
Values: The value is the URL to the Flashpix image on the iSeeMedia ZOOM Server.
The iSeeMedia ZOOM Plug-in Viewer provides one method for customizing your IVR files. To use this parameter, you need to know the names of the nodes in the IVR file. The names are all case-sensitive. Just add this parameter to your <EMBED> tag.
Function: This method lets you set properties for most of the VRML nodes within the IVR file.
Syntax: SetProperty="NodeName NodePropertyName PropertyValue"
Example: The following segment of an IVR file contains a node named BallMaterial with a diffuseColor value.
DEF BallXForm Transform {
scale 1 1 1
children [
DEF BounceXForm Transform {
children [
DEF SpinXForm Transform {
children [
DEF Ball Shape { # The bouncing ball
geometry Sphere { radius 1 }
appearance Appearance {
material
DEF BallMaterial Material { diffuseColor 0.7 0.6 0.4 specularColor 1 1 1 }
}
}
]
}
]
}
]
}
|
The following example of the SetProperty parameter tells the plug-in to change the diffuseColor property of the BallMaterial node to "1 0 0," which happens to be the color red.
SetProperty="BallMaterial diffuseColor 1 0 0"
The iSeeMedia ZOOM Viewer family is updated regularly. For the most current information, visit the iSeeMedia Software web site at http://www.iSeeMedia.com/.
Copyright 1999-2000, iSeeMedia Software Corp.
[012c]