e.b.i.f
  • Photo-Biyori
  • about
  • bookmarks
  • skip to menu ↓

2007/09/06 (Thu)

japanese  english  

PB: Plugin – Show Latest Thumbnail

あんまりテストしてないのですが、Photo-Biyori用のプラグインを作ってみました。PBサイトの最新のサムネイルを他のブログやサイトに表示できるようにするプラグインです。β版ということで。

このサイトではサムネイル表示にRSSから拾ってくるプラグインを使っているのですが、設定項目が多く、サムネイルを表示するためにいろんなコードを書き換えなくてはいけなくてずいぶん使いづらいなーと。なんかいいのないかな?と探している時にyarさんからPixelPost用のアドオンを教えてもらいました。(yarさん、ありがとー。)このアドオンを参考にして、WP-PB用に書き直して作成したプラグインです。

尚、以下のような設定がされているPBサイトには使用できません。

  • ホットリンク禁止の設定にしている場合
  • PB用のWordPressのアドレス(インストールアドレス)とPBサイトのホームページのアドレスが同一ではない場合(*1)

インストール方法

  • プラグインファイルをダウンロード。(最終更新日:2007/09/01)
    icon_download.gif pb-latest-thumb.zip
  • ファイルを解凍し、PBサイトのwp-content/pluginsフォルダーにアップロード。
  • 管理画面 > プラグインで “PB Show Latest Thumb” を有効化。オプション設定はありません。

サムネイル表示方法

サムネイルを表示させたいブログやサイトに以下のコードを埋め込む。

<a href='http://example.com/'><img src='http://www.example.com/?showthumb=latest' title='your photolog title' /></a>

* “example.com” と “your photolog title” の部分をPBサイトのアドレス、タイトルに変更してください。
WP以外のサイトにも表示できるはずですが、テストはしていません。

不具合等ございましたら、以下のコメントフォームよりご連絡下さい。その際は確認のためPBサイトのアドレスと、サムネイルを表示したいサイトのアドレスを添えてください。ちゃんと動作しましたーというご連絡もいただけると嬉しいです。

  1. 例)
    PB用WordPressのアドレス: www.mypb.com/wp
    PBサイトのホームページのアドレス: www.mypb.com[↩]
TAG: photo-biyori plugin theme thumbnail wordpress
CAT: wp+photo-biyori | TIME: 6:37 PM
Tweet
  • tomoさん、こんばんはー。
    いまさらネタですみませんー
    昨日、lighthouseアップしたら、いつもならbekkanにサムネイルが表示されるのに表示されなかったの。
    lighthouseはwpのupgradeしてないのにおかしいなぁーと思って、もう一回saveしたり試したんだけど、変わりなくて…。
    で、長くなっちゃうので結論書くと、
    どうやら拡張子が大文字だと表示されないっぽいですー。日頃大文字にすることないので気付かなかったのでした。(今回は手抜きでCDに焼いたのそのままだったので大文字だった)
    注意書きがあったかな?と思って見てみたけどなさそうなので、一応ご報告までー。
    もしご存じでしたら無視してくださいー。
    ではでは!

    :: nao@mdlm :: 2008/4/14 at 8:12 am
    ( ✎ Reply )
  • naoさん、ご連絡ありがとーです。
    ちょっと調べてみたのですが、
    2.3で .JPG アップロード→ .JPGのまま。
    2.5で .JPG アップロード→ .jpgに変換される。
    なんとなく、2.5ブログでは大文字を受け付けてないのかなーという印象です。そんなことがあるのだろうか… むむ?
    時間あるときにもちっと調べてみます。

    :: tomo :: 2008/4/14 at 11:53 am
    ( ✎ Reply )
  • こんにちわー。
    こちらのpb-latest-thumb.zip をダウンロードさせていただきたいのですが、できないようです。
    今中止中でしょうか???

    :: natsu :: 2008/6/4 at 7:26 pm
    ( ✎ Reply )
  • >natsuさん、
    こちらもリンクがおかしくなっていたようです。
    修正しましたので、再度DLしてみてください。
    ご報告していただいて、ありがとうございます。

    :: tomo :: 2008/6/4 at 9:34 pm
    ( ✎ Reply )
  • ダウンロードできました!
    ありがとうございます。
    使わせていただきますね。

    :: natsu :: 2008/6/4 at 10:05 pm
    ( ✎ Reply )
  • いつもすみません。
    この間ダウンロードさせていただいたのですが、サムネイルが表示されず・・・。
    解決策がありましたら、教えてください。

    :: natsu :: 2008/6/8 at 8:00 am
    ( ✎ Reply )
  • >natsuさん、
    長くなりそうだったのでメールでいろいろお送りしました。
    ご確認ください。

    :: tomo :: 2008/6/9 at 6:13 pm
    ( ✎ Reply )
  • メールありがとうございました。
    やはりバージョンの確認の仕方がわからずです。
    お暇なときに教えていただけますか?

    :: natsu :: 2008/6/13 at 8:36 am
    ( ✎ Reply )
  • tomoサン。
    最新サムネイルではなく画像を固定させて、リンクへジャンプさせることで落ち着きました。
    お忙しいのにいろいろありがとうございました。

    :: natsu :: 2008/6/16 at 7:59 pm
    ( ✎ Reply )
  • Dear tomo,
    I’ve tried to use this plugin but it won’t work for me, it doesn’t show any image. Wish I could use it, it would be really useful!

    Thank you again for your wonderful theme!

    Betty.

    :: ziRta :: 2010/2/8 at 1:49 pm
    ( ✎ Reply )
Click here to cancel reply.

Spam Protection by WP-SpamFree



Prev/Next Posts

ちょっと不思議な気分
今週のデキゴト

In Same Category

WordPress Photolog Theme: Photo-Biyori
Photo-Biyori with WordPress 2.5

Recent Posts

  • サイトのお引越し
  • Posterous to WordPress
  • One Down.
  • February Resolution
  • DeliciousのブックマークをWordPressに移行する

Recent Comments

  • Robert on PB3: Questions, Feedbacks and Ideas
  • tomo on PB3: Questions, Feedbacks and Ideas
  • Robert on PB3: Questions, Feedbacks and Ideas
  • tomo on PB3: Questions, Feedbacks and Ideas
  • tomo on PB3: Questions, Feedbacks and Ideas
  • Robert on PB3: Questions, Feedbacks and Ideas


Category

  • +doing+ Feed for all posts filed under +doing+ (49)
  • +feeling+thinking+ Feed for all posts filed under +feeling+thinking+ (26)
  • +listening+ Feed for all posts filed under +listening+ (5)
  • +reading+ Feed for all posts filed under +reading+ (9)
  • +watching+ Feed for all posts filed under +watching+ (41)
  • biboroku Feed for all posts filed under biboroku (11)
  • cameras Feed for all posts filed under cameras (31)
  • design+goods Feed for all posts filed under design+goods (31)
  • ebif Feed for all posts filed under ebif (10)
  • photography+art Feed for all posts filed under photography+art (16)
  • photography+me Feed for all posts filed under photography+me (40)
  • tsubuyaki Feed for all posts filed under tsubuyaki (58)
  • web+tech Feed for all posts filed under web+tech (20)
  • wordpress Feed for all posts filed under wordpress (34)
  • wp+photo-biyori Feed for all posts filed under wp+photo-biyori (13)

Search

Monthly Archives

  • 2011:
    01 02 03 04 05 06 07 08 09 10 11 12
  • 2010:
    01 02 03 04 05 06 07 08 09 10 11 12
  • 2009:
    01 02 03 04 05 06 07 08 09 10 11 12
  • 2008:
    01 02 03 04 05 06 07 08 09 10 11 12
  • 2007:
    01 02 03 04 05 06 07 08 09 10 11 12
  • 2006:
    01 02 03 04 05 06 07 08 09 10 11 12