Scaling Textile Image Links
This is something that has been driving me crazy; plenty of sites (including Basecamp) use Textile still, and I often want to link an image in without formally downloading it, resizing it and re-uploading it.
All the Textile examples I found all show how to display an image inline via a URL, but none of them show how to resize the image, at least not in a fashion I could make work. Some digging finally turned this up, and I figured I’d post this here for when I forget next time, and in case it’s useful for someone else.
A plain image is linked in as follows:
!http://farm6.static.flickr.com/5306/5627310027_eb64230826_t.jpg!
Resulting in: 
To force a specific size:
!{width: 50px; height: 33px;}http://farm6.static.flickr.com/5306/5627310027_eb64230826_t.jpg!
Resulting in: ![]()
Whoosh!
Advertisement
Leave a Comment