Resizing image on the fly

nevermind, I got this…