tweaked template inline images