add images and basic image logic