resize sample image