attempt at image resizing; currently not updating