added getImageByURL method