Knowledge Base



ExpressView Browser Plugin - Knowledge Base Articles

E081101 - Embedding ExpressView in an HTML page

More elegant and sophisticated viewing can be experienced by embedding the ExpressView Browser Plug-in in an HTML page. This can be accomplished by using the <object> tag in Microsoft Internet Explorer and the <embed> tag in Firefox browsers.

The ExpressView Browser Plug-in can be downloaded athttp://www.lizardtech.com/software/expressview/webinstall.

Usage
The following parameters are required:

imgSource
This is the URL to the image.

type (EMBED only)
This specifies the MIME type of the image. In order to invoke the ExpressView Browser Plug-in, set this to image/x-mrsid-image

pluginspage (EMBED only)
This is the location of the plug-in download page,http://www.lizardtech.com/software/expressview/webinstall.

codebase (OBJECT only)
This should behttp://www.lizardtech.com/plugin/MrSID_BPI.cab#Version=5,0,1

classid (OBJECT only)
This should be CLSID:2513AB48-1AEF-4E55-8329-927FF97C9DCE

Example
The following piece of code works for displaying the plug-in in both Internet Explorer and Firefox browsers:

Code:
<object vspace=”10″ name=”" width=”600″ height=”500″
classid=”CLSID:2513AB48-1AEF-4E55-8329-927FF97C9DCE”
codebase=”http://www.lizardtech.com/plugin/MrSID_BPI.cab#Version=5,0,1″>
<param name=”imgSource”
value=”http://localhost/lizardtech/iserv/getimage?cat=Geo&amp;item=BLM_relief.sid” />

<embed width=”600″ height=”500″
type=”image/x-mrsid-image”
pluginspage=”http://www.lizardtech.com/software/expressview/webinstall”
imgSource=”http://localhost/lizardtech/iserv/getimage?cat=Geo&amp;item=BLM_relief.sid”>
</embed>
</object>

Tip
The above example is for a MrSID image. To make it work with a JPEG 2000 image, modify the imgSource value to indicate the path to a file with a .jp2 extension.

This article was last updated or verified on 4 August 2012.