Database: vimp copy
Item Details: Hatena::ImageMax 650px
label | H::D(Image2) |
---|---|
value | Hatena::ImageMax 650px |
custom | function() { let [, width, height] = buffer.title.match(/\(PNG\s\S+,\s([0-9]+)x([0-9]+)\spx\)/); const MAX_W = 650; let maxWidth = width > MAX_W ? ":w" + MAX_W: ""; return '[' + buffer.URL + ':image' + maxWidth + ']'; } |
History
- Update 2009-06-08T07:12:29+09:00 by otsune
- Create 2009-06-08T07:12:09+09:00 by otsune