Skip to content

twitpic.rb

TADA Tadashi edited this page Nov 10, 2017 · 2 revisions

概要

Twitpic.comの写真を貼るプラグインです。

使い方

<%=twitpic '写真ID', 'タイトル', '掲載位置')%>
  • 写真ID: Twitpicの写真のID。各写真のURLの最後についてる文字列(「/」以降)。
  • タイトル: 写真のALTに入る文字列。省略可能。省略時は「image on Twitpic」になる。
  • 掲載位置: imgタグのクラス名。省略可能。省略時は「photo」になる(image.rbに準拠)
Clone this wiki locally