resize of images working for the most part

still not pretty with padding and what not