Improve image template var field preview image display