copied url class from develop
reported bug fix from develop for image sizing