almost done resize...greater than image not working