added image size toggling, not working

added functionality to toggle image size, but it currently does not
update the image stretch property