resize image to make app avoid memory warning :D