added feature for resizing the images over a setting in the on fig menu