Add image option

added 'add image' option to the GUI and implemented it