implemented images and size toggle