Replace images from assets to variable.