There are three ways to insert JPEG2000 images in web pages.
- the <embed></embed> tag;
- the
<OBJECT TYPE="image/j2c"></object> tag
(for Internet Explorer only);
- the <a href=""></a> tag;
For compatibility purposes, we strongly
encourage you to use the <embed></embed> tag.
Using <EMBED> Tag :
<embed src="TEST.J2C">
<embed src="TEST.J2C" width="176" height="144">
Note: if you try to view this
page's source, you will find out that we use a javascript function to detect the
browser type
(IE
or mozilla-like)
.
The <embed> tag is built in the function, so that the page displays a message
that invites you to download the right plugin (url included) in case your
browser is not able to display JPEG2000 files.
If you want to know more about this javascript function and to download it,
please click here .
ATTENTION:
YOU MAY EXPERIENCE DISPLAYING BUGS WITH THE <OBJECT> TAGS BELOW. THEY ARE
COMPATIBLE ONLY WITH INTERNET EXPLORER BROWSERS.