iSeeMedia ZOOM Plug-in Viewer Version 3.3
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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: If you try to zoom past the maximum image resolution, the Maximum Zoom icon appears in the upper left corner of the viewer window. |
Shift or A |
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. | Command or Z |
Pan Vista |
Pans a vista or rotates an image object. Click Pan Vista and drag the pointer over the vista or image object. | |
Pan Image (2D mode only) |
Pans a 2D Flashpix image object. Click Pan Image and drag the pointer horizontally or vertically over a 2D Flashpix image object. This button works best after you Zoom in to view a larger portion of the image object. | |
Initial View (2D mode only) |
Returns a Flashpix image to initial view after you have zoomed in. | |
| Print (2D mode only) |
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. Click the hotspot to activate the link. | Spacebar or H |
Save (2D mode only) |
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 this document in a new browser window. |
For more information about the iSeeMedia ZOOM Plug-in Viewer, visit the iSeeMedia Software web site at www.iSeeMedia.com
This section describes how to use the File menu commands for the stand-alone iSeeMedia ZOOM Viewer, which launches when you access a web page that uses the iSeeMedia ZOOM Plug-in Viewer.
The following table describes the File menu commands and keyboard shortcuts.
| Menu Command | Description | Keyboard Shortcut |
| New | Opens a new viewer window. | Command + N |
| Open | Lets you chose a file to open on a local hard drive. | Command + O |
| Load URL | Lets you specify the URL to a remote file. | Command + L |
| Reload | Reloads the file in the viewer window. | Command + R |
| Save Location | Lets you save an EMB file that contains plug-in parameters and the URL to the file you are viewing. | Command + S |
| Prefs | Lets you set preferences | Command + F |
| Lets you print the Flashpix image you're viewing, if enabled by the image provider. | Command + P | |
| Close | Closes the current viewer window. | Command + W |
| Quit | Quits the iSeeMedia ZOOM Viewer | Command + Q |
The iSeeMedia ZOOM Viewer lets you save a file that works as a link to the Flashpix or IVR file you're viewing. When you choose Save Location from the File menu, a standard dialog box appears for you to choose the location to save the file. The saved file has an .emb file extension and contains the plug-in parameters and the URL to the file you are viewing.
Note: The .emb file extension lets the iSeeMedia ZOOM Viewer read the file; make sure you do not remove this file extension, or the viewer will not be able to open the file.
To view the contents of an EMB file, open it using any text editor. To view a file you've saved, simply double-click the EMB file. The iSeeMedia ZOOM Viewer reads the URL in the file and displays the Flashpix or IVR file.
When you choose Prefs from the File menu, a dialog box appears for you to set your preferences for the iSeeMedia ZOOM Viewer. The preferences let you:
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 viewer window must be at least 240 pixels wide to display the entire toolbar when the toolbar is turned on.
As you can see in the example above, you identify the image that 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 iSeeMedia Flashpix Photoshop® Plug-in lets you set compression when you save Flashpix images, and is available for both Windows and Macintosh.
Since the iSeeMedia ZOOM Plug-in Viewer provides the same features as the iSeeMedia ZOOM Control Viewer, you can use simple JavaScript to 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
|
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. You can use iSeeMedia Reality Studio to create content combining panoramas, hotspots, and other media. For more information visit the Products section of the iSeeMedia Software web site.
The parameters in this section include:
Note: For best results across platforms, pay attention to case-sensitivity when specifying control parameters.
autoSpinFunction: 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.
backgroundColorFunction: 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.
backGroundImage,
leftMargin, topMargin, displayWidth, displayHeightFunction: 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.
enableZOOMPastMaxFunction: 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."
hotSpotFunction: 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 | The relative values for this upper left coordinate are 0.2, 0.2 |
| 346 (x2) ÷ 500 = .7, 196 (y2) ÷ 300 = .7 | 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 Paramter | 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. |
initialViewFunction: 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 floating point values 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
pictPreviewFunction: This specifies a PICT image that appears in the viewer window on the web page.
pictPreview="http://192.168.168.43/Enterprise/enterprise.pic"
Values: The value is the URL to the PICT image.
printSRCFunction: 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.
saveSRCFunction: 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.
SetProperty(propString)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 www.iSeeMedia.com.
Copyright 1999-2000, iSeeMedia Software Corp.
[036b]