如何在Blog上内嵌Flickr幻灯片?

十月 26th, 2006 by Flickrcn

Flickr本身提供了一个非常棒的幻灯片方式的照片查看工具,下面这个方法可把这个工具内置到Blog上,使你的Blog文章效果变得更加酷。

把下面这段代码复制后粘贴到Blog文章中。

<iframe align=center src=http://www.flickr.com/slideShow/index.gne?user_id=12345678@N00&tags=foo frameBorder=0 width=500 scrolling=no height=500></iframe>

其中,user_id、tags等参数需自定义,如果你不知道你的user_id是多少,可通过idGettr来获取。

另外还有以下几个参数可供选择。

contacts=
text=
tag_mode=
favorites=
group_id=
frifam=
nsid=
single=
firstIndex=
set_id=
firstId=

网页演示效果见这里

2006-10-24_160920.png

注:经测试,Wordpress对”iframe”支持不是很好,不过有可能是模版的关系,所以请使用Wordpress的朋友在使用时需多加注意。

[Via: paulstamatiou.com]
原文链接


Tips:如需继续访问被屏蔽的Flickr图片,最方便的方法是先 ,安装完毕后在下载Access Flickr!1.5这个插件,安装重启后即可正常浏览Flickr所有图片.

随机显示日志:
Fatal error: Call to undefined function: random_posts() in /home/lannyone/public_html/flickrcncom/wp-content/themes/indigo/single.php on line 32