后,添加图片,这是对everypost如何超级链接
<div class="post-body">
<a href="http://www.google.com">google</a>
<a href="http://www.youtube.com">youtube</a>
<a href="http://www.facebook.com">facebook</a>
</div>
每个链接,如<a href="http://www.google.com">google</a>
的HTML具有相同的超链接在这种情况下<a href="http://www.google.com">google</a>
添加图像和图片src 内http://open.thumbshots.org/image.aspx?url=后添加超链接所以结果将是<img src="http://open.thumbshots.org/image.aspx?url=http://www.google.com" width="120px" />
下面的代码是每个帖子中html的结果。
<div class="post-body">
<a href="http://www.google.com">google</a>
<a href="http://www.google.com"><img src="http://open.thumbshots.org/image.aspx?url=http://www.google.com" width="120px" /></a>
<a href="http://www.youtube.com">youtube</a>
<a href="http://www.youtube.com"><img src="http://open.thumbshots.org/image.aspx?url=http://www.youtube.com" width="120px" /></a>
<a href="http://www.facebook.com">facebook</a>
<a href="http://www.facebook.com"><img src="http://open.thumbshots.org/image.aspx?url=http://www.facebook.com" width="120px" /></a>
</div>
OP要求是超链接本身... –