def get_image_url(date):
  """ Return the URL to the frontpage of the NYT on a certain date.

  :param date: a `datetime.date` object.
  :returns: a `str`, the URL to the image of the frontpage of the NYT on the
      requested date.
  """

  _frontpage_url_template = ('http://www.nytimes.com/images'
                             '/{year}/{month}/{day}/nytfrontpage/scan.jpg')
  return _frontpage_url_template.format(
      year=date.year,
      month=str(date.month).zfill(2),
      day=str(date.day).zfill(2),
    )