スポンサードリンク

Tag Archives: web API

パノラミオの写真を表示させるIfarmeのためにIFrame Embedder プラグイン

パノラミオ(panoramio)の写真を表示させるのは、Ifameが使えるので便利だが、ご存知の通りWordpressは、iframeと相性が悪い。
そこで役にたつのが、このプラグイン。

IFrame Embedder

これを使うとパノラミオのIfarmeも簡単に表示できる。
パノラミオの Widget APIのサンプルページからiframeタグをコピー。

<iframe
src=”http://www.panoramio.com/wapi/template/list.html?user=7&amp;width=150&
amp;height=400&amp;columns=2&amp;rows=5&amp;orientation=vertical&amp;bgcolor=black
frameborder=”0″ width=”150″ height=”400″ scrolling=”no” marginwidth=”0″ marginheight=”0″>
</iframe>

これを貼り付けても、編集中に化けてしまうので・・・・。上記赤文字部をコピペして、次のようにする。

[iframe http://www.panoramio.com/wapi/template/list.html?user=7&amp;width=150&amp;
height=400&amp;columns=2&amp;rows=5&amp;orientation=vertical&amp;bgcolor=black

100% 400]

そして、IFrame Embedderプラグインをインストールして、有効にすれば、次のとおり。

Read more »

パノラミオWeb API スライドショー

◆スライドショー貼り付けるアイフレーム(iframe)

<iframe
src=”http://www.panoramio.com/wapi/template/slideshow.html?user=7&amp;width=600&amp;height=400&amp;delay=1.5″
frameborder=”0″ width=”600″ height=”400″ scrolling=”no” marginwidth=”0″ marginheight=”0″>
</iframe>
◆スライドショー間隔(sec)
1.5secの場合
<iframe
src=”http://www.panoramio.com/wapi/template/slideshow.html?user=7&amp;width=600&amp;height=400&amp;delay=1.5
frameborder=”0″ width=”600″ height=”400″ scrolling=”no” marginwidth=”0″ marginheight=”0″>
</iframe>
◆表示させる写真のタグ

スポンサードリンク