change size of sample image