<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>不亦乐乎 &#187; 图片</title>
	<atom:link href="http://www.happyet.org/tag/%e5%9b%be%e7%89%87/feed" rel="self" type="application/rss+xml" />
	<link>http://www.happyet.org</link>
	<description>自娱自乐，不亦乐乎!</description>
	<lastBuildDate>Tue, 07 Feb 2012 05:23:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress自带的图片显示功能Thickbox</title>
		<link>http://www.happyet.org/365.html</link>
		<comments>http://www.happyet.org/365.html#comments</comments>
		<pubDate>Tue, 26 Jan 2010 06:43:30 +0000</pubDate>
		<dc:creator>LMS</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[THICKBOX]]></category>
		<category><![CDATA[图片]]></category>

		<guid isPermaLink="false">http://www.happyet.org/365.html</guid>
		<description><![CDATA[Willin Kan大师就是牛，随便到他博客逛逛都会有很东西搬。这个wordpress自带的图片显示功能（通过js点击图片在本页面上跳出大图片）。其功能等同于插件Lightbox。 WP 用久了, 你對後台上傳/插入媒體, 或主題預覽所出現的那個黑色透明背景應相當眼熟吧! 它叫做 Thickbox, 現在要把它從後台抓到前台來當演員, 讓它有個機會表現. Thickbox 是基於 jQuery 所開發的擴展, 文件很小, js 未壓縮只有 12k, css 4k, 一定比 Lightbox 快多了. 它的功能除了展示圖片, 也可用 iFrame 或 Ajax 來開啟其它網頁, 現在來試一下它的功能. 如果你主題都還沒有掛上 jQuery, 在 header.php 的 ＜？php wp_head(); ？＞ 之前加入: &#60;link rel=&#34;stylesheet&#34; href=&#34;&#60;?php bloginfo('wpurl'); ?&#62;/wp-includes/js/thickbox/thickbox.css&#34; type=&#34;text/css&#34; media=&#34;screen&#34; /&#62; &#60;?php wp_enqueue_script('thickbox'); ?&#62; 請注意第二行是會同時載入 &#8216;thickbox&#8217; 和 &#8216;jquery&#8217;, 順便檢查一下 [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="首页自动调用日志第一张图片" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F387.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/27/1271373.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">首页自动调用日志第一张图片</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="非插件wp标题个性化字体图片显示" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F381.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/17/1271394.gif" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">非插件wp标题个性化字体图片显示</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress 自带表情代码" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F239.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/17/1271490.png" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress 自带表情代码</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress图片插件Thumbnails Anywhere" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F403.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/02/24/2916193.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress图片插件Thumbnails Anywhere</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress升级3.2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F637.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/07/05/16246808.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress升级3.2</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><a href="http://willin.heliohost.org/?p=1283" target="_blank">Willin Kan</a>大师就是牛，随便到他博客逛逛都会有很东西搬。这个wordpress自带的图片显示功能（通过js点击图片在本页面上跳出大图片）。其功能等同于插件<a href="http://wordpress.org/extend/plugins/lightbox-2-wordpress-plugin/" target="_blank">Lightbox</a>。</p>
<blockquote><p>
WP 用久了, 你對後台上傳/插入媒體, 或主題預覽所出現的那個黑色透明背景應相當眼熟吧!</p>
<p>它叫做 Thickbox, 現在要把它從後台抓到前台來當演員, 讓它有個機會表現.<br />
Thickbox 是基於 jQuery 所開發的擴展, 文件很小, js 未壓縮只有 12k, css 4k, 一定比 Lightbox 快多了.</p>
<p>它的功能除了展示圖片, 也可用 iFrame 或 Ajax 來開啟其它網頁, 現在來試一下它的功能.</p>
<p>如果你主題都還沒有掛上 jQuery, 在 header.php 的 ＜？php wp_head(); ？＞ 之前加入:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('wpurl'); ?&gt;/wp-includes/js/thickbox/thickbox.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;?php wp_enqueue_script('thickbox'); ?&gt;</pre></div></div>

<p>請注意第二行是會同時載入 &#8216;thickbox&#8217; 和 &#8216;jquery&#8217;,</p>
<p>順便檢查一下 footer.php 有沒有 wp_footer(); 這種方式掛 thickbox.js 是會出現在 wp_footer();</p>
<p>如果你早已掛上 jQuery, 改用下面方法:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('wpurl'); ?&gt;/wp-includes/js/thickbox/thickbox.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.2.3/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php bloginfo('wpurl'); ?&gt;/wp-includes/js/thickbox/thickbox.js&quot;&gt;&lt;/script&gt;</pre></div></div>

<p>第一行是 Thickbox 的 css, 第二行是 jQuery, 第三行是 Thickbox.<br />
　<br />
然後, 準備好幾張要上傳的圖片.<br />
演員到齊, 開工!</p>
<p>在編輯文章的時候, 上傳/插入圖片, 選擇 “中等” 縮圖, 鏈接 URL 選擇 “文件鏈接”, 在 HTML 源代碼編輯器中, 將 class=”thickbox” 加到 a href 之間, 完成的樣子如下:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a class=&quot;thickbox&quot; href=&quot;http://...(圖)...&quot;&gt;&lt;img src=&quot;http://...(縮圖)...&quot; /&gt;&lt;/a&gt;</pre></div></div>

<p>到前台預覽看看, 點擊圖片就有 Thickbox 效果了!　(提醒: 鼠標點擊黑色透明背景或按 “ESC” 也可跳脫)</p>
<p>如果是多圖, 除了加 class=”thickbox” 另外還要定義 rel=”&#8230;.” 群組名稱自己取, 幾張圖都要用同一組名.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a class=&quot;thickbox&quot; rel=&quot;group1&quot; href=&quot;http://...(第一張圖)...&quot;&gt;&lt;img src=&quot;http://...(第一張縮圖)...&quot; /&gt;&lt;/a&gt;
&lt;a class=&quot;thickbox&quot; rel=&quot;group1&quot; href=&quot;http://...(第二張圖)...&quot;&gt;&lt;img src=&quot;http://...(第二張縮圖)...&quot; /&gt;&lt;/a&gt;
&lt;a class=&quot;thickbox&quot; rel=&quot;group1&quot; href=&quot;http://...(第三張圖)...&quot;&gt;&lt;img src=&quot;http://...(第三張縮圖)...&quot; /&gt;&lt;/a&gt;</pre></div></div>

<p>有了群組, 在 Thickbox 的左下角會自動出現翻頁鏈接.在這裏, 我選擇 “小尺寸” 縮略圖</p>
<p>上面是圖片效果, 現在試試 iFrame 網頁鏈接的效果:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;thickbox&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://willin.heliohost.org/?TB_iframe=true&quot;</span><span style="color: #339933;">&gt;</span>Willin Kan 的博客<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></div></div>

<p>如果覺得尺寸不對, 還可定義框架的大小:<br />
TB_iframe=true&#038;height=600&#038;width=900 就是框架高600x寬900.<br />
這裏的尺寸是px, 不能用百分比的方式, 如: 90%.<br />
如果要用百分比, 就用 js 偵測視窗尺寸再轉 px. 這教程很多, google 得到.</p>
<p>評語:<br />
WP 內置的 Thickbox 的圖片展示效果不錯, 又不用插件, 程式也不大, 就別留它在後台打瞌睡了.</p>
<p>後記:<br />
又留了一手, 現在補充:<br />
用 jQuery 為每張圖片鏈接自動加上 class=”thickbox”<br />
假設你主題 single.php 發佈內容的 id=”content”<br />
網頁鏈接除了加 class=”thickbox” 另外還要開 TB_iframe:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#content p a'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #003366; font-weight: bold;">var</span> a_href <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'href'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> file_type <span style="color: #339933;">=</span> a_href.<span style="color: #660066;">substring</span><span style="color: #009900;">&#40;</span>a_href.<span style="color: #660066;">lastIndexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>file_type <span style="color: #339933;">==</span> <span style="color: #3366CC;">'.jpg'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'thickbox'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>把上面放在 jQurey 裏面就行了, 但只有圖片鏈接有效, 網頁鏈接較麻煩就沒寫了.<br />
如果是多圖的鏈接, 上面會幫你加 class=”thickbox” 但群組還是要自己加, 偷懶不得啊!</p>
<p>圖片是設 .jpg, 如果有其它格式, 自己再加吧! 總要讓你也動動腦~</p>
<p><strong>2009.12.24更新</strong> 感謝阿士發現 WordPress 2.9 的 Thickbox 有了修改: thickbox.js 增加了 “thickboxL10n” 變量, 找不到這變量 thickbox 就失效了. 修正方式就是采用 WP 掛 script 的標準方式, 也就是上面所教的第一種方法, 用 wp_enqueue_script(&#8216;thickbox&#8217;) 掛上就可解決了.
</p></blockquote>
<p>具体图片效果见这里：http://willin.heliohost.org/?p=1283</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="首页自动调用日志第一张图片" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F387.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/27/1271373.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">首页自动调用日志第一张图片</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="非插件wp标题个性化字体图片显示" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F381.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/17/1271394.gif" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">非插件wp标题个性化字体图片显示</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress 自带表情代码" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F239.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/17/1271490.png" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress 自带表情代码</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress图片插件Thumbnails Anywhere" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F403.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/02/24/2916193.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress图片插件Thumbnails Anywhere</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress升级3.2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F637.html&from=http%3A%2F%2Fwww.happyet.org%2F365.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/07/05/16246808.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress升级3.2</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.happyet.org/365.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>用CSS给图片添加水印效果</title>
		<link>http://www.happyet.org/280.html</link>
		<comments>http://www.happyet.org/280.html#comments</comments>
		<pubDate>Tue, 03 Nov 2009 03:43:56 +0000</pubDate>
		<dc:creator>LMS</dc:creator>
				<category><![CDATA[网页网络]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[水印]]></category>

		<guid isPermaLink="false">http://www.happyet.org/archives/280</guid>
		<description><![CDATA[给图片加上水印效果，看上去似乎让人觉得更专业，更那个什么什么，不过也很那个什么什么，不过用css来实现这个效果，那就更那个什么什么了，而且居然这个代码神奇的连ie6都支持，所以一定要转，原文章来自万戈的life studio，效果图见这里：http://www.life-studio.cn/watermark-with-css.html。 代码如下： 1 2 3 &#60;div class=&#34;watermark&#34;&#62; &#60;img class=&#34;logo&#34; src=&#34;http://picture.jpg&#34; /&#62; &#60;/div&#62; CSS 部分： 1 2 3 4 5 6 7 .watermark &#123; background:transparent url&#40;http://watermark.png&#41; no-repeat; &#125; img.logo &#123; filter:alpha&#40;opacity=75&#41;; opacity:.75; &#125;<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS3 Color Names" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F610.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/04/20/5599862.png" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS3 Color Names</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS属性中常见的缩写格式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F606.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/04/20/5551385.png" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS属性中常见的缩写格式</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="css实现网页内容180度翻转" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F581.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/04/20/4891809.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">css实现网页内容180度翻转</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS属性列表" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F214.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/17/1271507.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS属性列表</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS3具有动画效果的一些属性" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F608.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/04/20/5598364.gif" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS3具有动画效果的一些属性</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>给图片加上水印效果，看上去似乎让人觉得更专业，更那个什么什么，不过也很那个什么什么，不过用css来实现这个效果，那就更那个什么什么了，而且居然这个代码神奇的连ie6都支持，所以一定要转，原文章来自万戈的life studio，效果图见这里：http://www.life-studio.cn/watermark-with-css.html。</p>
<p>代码如下：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;watermark&quot;&gt;
&lt;img class=&quot;logo&quot; src=&quot;http://picture.jpg&quot; /&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>CSS 部分：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.watermark</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">http://watermark.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
img<span style="color: #6666ff;">.logo</span> <span style="color: #00AA00;">&#123;</span>
filter<span style="color: #00AA00;">:</span>alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">75</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
opacity<span style="color: #00AA00;">:</span>.75<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS3 Color Names" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F610.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/04/20/5599862.png" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS3 Color Names</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS属性中常见的缩写格式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F606.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/04/20/5551385.png" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS属性中常见的缩写格式</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="css实现网页内容180度翻转" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F581.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/04/20/4891809.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">css实现网页内容180度翻转</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS属性列表" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F214.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/17/1271507.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS属性列表</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS3具有动画效果的一些属性" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F608.html&from=http%3A%2F%2Fwww.happyet.org%2F280.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/04/20/5598364.gif" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS3具有动画效果的一些属性</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.happyet.org/280.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordPress 自带表情代码</title>
		<link>http://www.happyet.org/239.html</link>
		<comments>http://www.happyet.org/239.html#comments</comments>
		<pubDate>Thu, 02 Jul 2009 05:08:27 +0000</pubDate>
		<dc:creator>LMS</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[表情]]></category>

		<guid isPermaLink="false">http://www.happyet.org/archives/239</guid>
		<description><![CDATA[开篇第一句，先喊一下我的口号：能用代码搞定的就绝不用插件解决！再结合本文标题，聪明的你应该已经猜到我想写什么了吧。没错，我要总结一下 WordPress 自带表情的代码来代替 WP Grins 插件。WP Grins 表情插件大家都很熟悉了，就是调用 prototype.js 实现在博客留言框的上方和编辑文章的输入框的下方添加一排表情按钮，很方便。不过这也就是我为什么讨厌用插件的原因，动不动就调用 JS，更讨厌这种 prototype.js 的巨型 JS。其实这表情并不是插件所带的，而是 WordPress 自带的，WP Grins 无非是调用了这些表情而已。 既然如此，我们只需要知道这些表情的代码就可以用啦。归纳如下： 　咧嘴笑　&#8217;:D&#8217;　&#8217;:-D&#8217;　&#8217;:grin:&#8217; 　忧伤　&#8217;:(&#8216;　&#8217;:-(&#8216;　&#8217;:sad:&#8217; 　惊讶　&#8217;8O&#8217;　&#8217;8-O&#8217;　&#8217;:shock:&#8217; 　耍酷　&#8217;8)&#8217;　&#8217;8-)&#8217;　&#8217;:cool:&#8217; 　冷笑　&#8217;:P&#8217;　&#8217;:-P&#8217;　&#8217;:razz:&#8217; 　自然的表情　&#8217;:&#124;&#8217;　&#8217;:-&#124;&#8217;　&#8217;:neutral:&#8217; 　笑脸　&#8217;:)&#8217;　&#8217;:-)&#8217;　&#8217;:smile:&#8217; 　吃惊　&#8217;:o&#8217;　&#8217;:-o&#8217;　&#8217;:eek:&#8217; 　困惑　&#8217;:?&#8217;　&#8217;:-?&#8217;　&#8217;:???:&#8217; 　抓狂　&#8217;:x&#8217;　&#8217;:-x&#8217;　&#8217;:mad:&#8217; 　眨眼　&#8217;;)&#8217;　&#8217;;-)&#8217;　&#8217;:wink:&#8217; 　大笑　&#8217;:lol:&#8217; 　右箭头　&#8217;:arrow:&#8217; 　感叹　&#8217;:!:&#8217; 　红脸　&#8217;:oops:&#8217; 　恶魔　&#8217;:evil:&#8217; 　疑问　&#8217;:?:&#8217; 　哭泣　&#8217;:cry:&#8217; 　痛苦　&#8217;:twisted:&#8217; 　好主意　&#8217;:idea:&#8217; 　绿脸先生　&#8217;:mrgreen:&#8217; 　转眼珠　&#8217;:roll:&#8217; 要记住这些代码可不容易，所以写下这篇归纳性文章，需要用时自己看看，呵呵。扩展一下，因为这些表情都是 WordPress 自带的，在 /wp-includes/images/smilies 文件夹下可以找到这些表情图片，把你自己喜欢的表情图片以原文件名覆盖就可以 DIY 属于你的表情图片了。 原文地址：http://www.life-studio.cn/wordpress-emotion-images.html<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="WordPress无插件添加表情" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F243.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/27/1271339.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress无插件添加表情</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress 短代码（简码）收藏" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F394.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/27/1271365.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress 短代码（简码）收藏</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress自带的图片显示功能Thickbox" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F365.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/17/1271247.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress自带的图片显示功能Thickbox</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress升级3.2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F637.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/07/05/16246808.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress升级3.2</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress的object-cache缓存" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F561.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/02/11/2646694.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress的object-cache缓存</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>开篇第一句，先喊一下我的口号：能用代码搞定的就绝不用插件解决！再结合本文标题，聪明的你应该已经猜到我想写什么了吧。没错，我要总结一下 WordPress 自带表情的代码来代替 WP Grins 插件。WP Grins 表情插件大家都很熟悉了，就是调用 prototype.js 实现在博客留言框的上方和编辑文章的输入框的下方添加一排表情按钮，很方便。不过这也就是我为什么讨厌用插件的原因，动不动就调用 JS，更讨厌这种 prototype.js 的巨型 JS。其实这表情并不是插件所带的，而是 WordPress 自带的，WP Grins 无非是调用了这些表情而已。</p>
<p>既然如此，我们只需要知道这些表情的代码就可以用啦。归纳如下：</p>
<p> <img src='http://www.happyet.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' />  　咧嘴笑　&#8217;:D&#8217;　&#8217;:-D&#8217;　&#8217;:grin:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' />  　忧伤　&#8217;:(&#8216;　&#8217;:-(&#8216;　&#8217;:sad:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' />  　惊讶　&#8217;8O&#8217;　&#8217;8-O&#8217;　&#8217;:shock:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' />  　耍酷　&#8217;8)&#8217;　&#8217;8-)&#8217;　&#8217;:cool:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' />  　冷笑　&#8217;:P&#8217;　&#8217;:-P&#8217;　&#8217;:razz:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_neutral.gif' alt=':neutral:' class='wp-smiley' />  　自然的表情　&#8217;:|&#8217;　&#8217;:-|&#8217;　&#8217;:neutral:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' />  　笑脸　&#8217;:)&#8217;　&#8217;:-)&#8217;　&#8217;:smile:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_surprised.gif' alt=':eek:' class='wp-smiley' />  　吃惊　&#8217;:o&#8217;　&#8217;:-o&#8217;　&#8217;:eek:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_confused.gif' alt=':???:' class='wp-smiley' />  　困惑　&#8217;:?&#8217;　&#8217;:-?&#8217;　&#8217;:???:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_mad.gif' alt=':mad:' class='wp-smiley' />  　抓狂　&#8217;:x&#8217;　&#8217;:-x&#8217;　&#8217;:mad:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_wink.gif' alt=':wink:' class='wp-smiley' />  　眨眼　&#8217;;)&#8217;　&#8217;;-)&#8217;　&#8217;:wink:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' />  　大笑　&#8217;:lol:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_arrow.gif' alt=':arrow:' class='wp-smiley' />  　右箭头　&#8217;:arrow:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_exclaim.gif' alt=':!:' class='wp-smiley' />  　感叹　&#8217;:!:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' />  　红脸　&#8217;:oops:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_evil.gif' alt=':evil:' class='wp-smiley' />  　恶魔　&#8217;:evil:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_question.gif' alt=':?:' class='wp-smiley' />  　疑问　&#8217;:?:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' />  　哭泣　&#8217;:cry:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_twisted.gif' alt=':twisted:' class='wp-smiley' />  　痛苦　&#8217;:twisted:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_idea.gif' alt=':idea:' class='wp-smiley' />  　好主意　&#8217;:idea:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  　绿脸先生　&#8217;:mrgreen:&#8217;<br />
 <img src='http://www.happyet.org/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' />  　转眼珠　&#8217;:roll:&#8217;</p>
<p>要记住这些代码可不容易，所以写下这篇归纳性文章，需要用时自己看看，呵呵。扩展一下，因为这些表情都是 WordPress 自带的，在 /wp-includes/images/smilies 文件夹下可以找到这些表情图片，把你自己喜欢的表情图片以原文件名覆盖就可以 DIY 属于你的表情图片了。</p>
<p>原文地址：http://www.life-studio.cn/wordpress-emotion-images.html </p>
<p style="margin:0;padding:0;height:1px;overflow:hidden;">
    <script type="text/javascript"><!--
        var wumiiSitePrefix = "http://www.happyet.org";
        var wumiiEnableCustomPos = false;
        var wumiiParams = "&#038;num=5&#038;mode=3&#038;displayInFeed=1&#038;version=1.0.5.5&#038;pf=WordPress3.3.1";
    //--></script><script type="text/javascript" src="http://widget.wumii.com/ext/relatedItemsWidget.htm"></script><a href="http://www.wumii.com/widget/relatedItems.htm" style="border:0;"><img src="http://static.wumii.com/images/pixel.png" alt="无觅相关文章插件，快速提升流量" style="border:0;padding:0;margin:0;" /></a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="WordPress无插件添加表情" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F243.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/27/1271339.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress无插件添加表情</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress 短代码（简码）收藏" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F394.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/27/1271365.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress 短代码（简码）收藏</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress自带的图片显示功能Thickbox" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F365.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2010/12/17/1271247.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress自带的图片显示功能Thickbox</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress升级3.2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F637.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/07/05/16246808.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress升级3.2</font>
                    </a>
                </td>
                <td width="118" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress的object-cache缓存" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.happyet.org%2F561.html&from=http%3A%2F%2Fwww.happyet.org%2F239.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 112px !important; height: 112px !important;" src="http://static.wumii.com/site_images/2011/02/11/2646694.jpg" width="112px" height="112px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 118px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress的object-cache缓存</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.happyet.org/239.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

