GIMP2.6軟件

GIMP>濾鏡_網頁/影像地圖編輯器,在編輯完成後另存新檔為 001xx.html

打開之後,發現圖檔是空白,無法顯現圖檔和超連結時,那是<原始檔>亂掉了,

以下是說明如何更新亂碼

>開啟GIMP2.6

>從資料夾裡開啟一個.png檔(可攜式網路圖型),

開始編輯,選擇要超連結的位置的圈選形狀(方或圓)和填上網址(做超連結),

>存檔>選(另存新黨) nou123.html

>到檔案位置上(c:xxxxxx)找到剛存檔的 nou123.html,無法做超連結

>go>上面的>檢視_原始檔>把原始檔複製下來,

接著到電腦左下>開始>記事本(建立及編輯文字檔),貼上剛複製的原始碼

 

<img src="tw.png" width="513" height="672" border="0" usemap="#map" />

<map name="map">

<!-- #$-:Image map file created by GIMP Image Map plug-in -->

<!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->

<!-- #$-:Please do not edit lines starting with "#$" -->

<!-- #$VERSION:2.3 -->

<!-- #$AUTHOR:COMPAQ -->

上面的語法不動,下面的更正

部分亂碼的顯示出現在在座標位置 href="前xdnw口

在座標位置 coords="439,25,484,44"後面,修正如下

 alt="台北市政府" href="http://www.taipei.gov.tw/" /

 

正確的顯示方式應該是:如下:

<area shape="rect" coords="439,25,484,44" href="http://www.klcg.gov.tw/" />

<area shape="rect" coords="379,40,421,65" alt="abc456" href="http://www.taipei.gov.tw/" />

<area shape="rect" coords="223,206,266,234" alt="abc_台中市政府" href="http://www.taichung.gov.tw/" />

</map>

>存回去原nou123.html,選擇<取代原檔>

從新打開檔案nou123.html

 

PS

area shape="rect" --區域形狀是矩形

coords="439,25,484,44" 表示要連結的座標位置的x和Y軸的(x=439,25,Y=484,44)

 alt="台中市政府" --表示當出現超連結時所要出現的文字對方方塊

href="http://www.klcg.gov.tw/" /--表示超連結的網址

 

參考範例:

http://mail.mcjh.kl.edu.tw/~lin/teach/gimp/map/map.htm

 

arrow
arrow
    全站熱搜

    空大 小熊 發表在 痞客邦 留言(0) 人氣()