2
# twitpic.rb: plugin to insert images on twitpic.com.
4
# Copyright (C) 2010 TADA Tadashi <t@tdtds.jp>
5
# You can redistribute it and/or modify it under GPL2.
8
def twitpic( image_id, label = 'image on Twitpic', place = 'photo' )
9
%Q|<a class="twitpic" href="http://twitpic.com/#{h image_id}" title="#{h label}"><img class="#{h place}" src="http://twitpic.com/show/thumb/#{h image_id}.jpg" width="150" height="150" alt="#{h label}"></a>|