rescue errors in picture resize for banner