简体   繁体   中英

how to change image dimension for mapped image(i.e image map used image) in html.

I have a html file and the html file has only image map data and the image. the dimension of the image is 3000 * 3000 . when I am opening the html file the picture is not fully visible because of its size. now the image tag is like bellow:

<IMG SRC="test.png" ALT="Site map" USEMAP="#testmap">

in this condition the image map is working properly.

But because of its dimension, I am decreasing its dimension .the example is like bellow

<IMG SRC="test.png" ALT="Site map" USEMAP="#testmap" width=1000 height=1000>

But the image map is not working properly.is their any way to solve the problem.

实际上它们是无法更改图像地图坐标的。如果您的图像尺寸为3000 * 3000,那么您的坐标仅适用于该尺寸。您不能直接将其更改为1000 * 1000。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM