width testing for images