hack images into decent size