Simply use a tag instead of when you wish to pull in a thumbnail. Everything inside the tag (except for the src parameter, which is modified to reference the generated thumbnail) will be parsed directly to the resulting tag. Example: will become to the client.