|
Revision 37045, 444 bytes
(checked in by sho, 2 years ago)
|
|
fixed typo.
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # twitpic.rb: plugin to insert images on twitpic.com. |
|---|
| 3 | # |
|---|
| 4 | # Copyright (C) 2010 TADA Tadashi <t@tdtds.jp> |
|---|
| 5 | # You can redistribute it and/or modify it under GPL2. |
|---|
| 6 | # |
|---|
| 7 | |
|---|
| 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>| |
|---|
| 10 | end |
|---|