resize cover image to fit application rules