adds image previews