Flickr Flash Player Embedded 教學

Posted on October 24th, 2006 by ShineCatcher.
Categories: blogging, design, 教學.

網上可以讓用戶Embed的Photo Player雖多,但論美觀還是Flickr優勝。況且現時大部份Blogger在Flickr都有帳號,使用起來不需要另外上載。

以下是我做的Demo,播放Interesting Tag之內的照片:

引用方法是把一段Code加到網站上就可以,範本如下:

<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>

想Show自己的相片,要把”12345678@N00”改為自己的Flickr ID,不知道自己的ID的話可以到idGettr輸入用戶名查找。然後再把”Tags=foo”的”foo”改為你想要Show的Tags,例如:”Tags=rose”。這樣就可以把你個人相冊裏的所有Rose相關的照片展示出來。修改Width and Height數值,可以自己定義Player大小。

我上面的Demo直接把”user_id=12345678@N00&”刪除掉,改Tag為”interesting”,長寛各改為400。code 如下:

<iframe align=”center” src=http://www.flickr.com/slideShow/index.gne? tags=interesting frameborder=”0″ width=”400″ scrolling=”no” height=”400″></iframe>

這樣可以把所有Flickr上所有Tag了interesting的照片隨機播放。

”&”是邏輯符號,以下句法的意思是播放12345678@N00用戶相冊裏面符合foo tag的照片

”user_id=12345678@N00&tags=foo

你可以用”&”串連起以下任何參數,來播放你想show的相片:

“contacts=”, “text=”, “tag_mode=”, “favorites=”, “group_id=”, “frifam=”, “nsid=”, “single=”, “firstIndex=”, “set_id” and “firstId=”

參考這裏

del.icio.us tags: , ,

Popularity: 19% [?]


請訂閱我們的RSS

0 comments.

Leave a comment

Comments can contain some xhtml. Name is required, url's are optional.