changing images to assets