code: def locate(self, image):
          
          from .entity import Image
          if not isinstance(image, Image):
              raise TypeError('image must be a sqlalchemy_imageattach.entity.'
                              'Image instance, not ' + repr(image))
          url = self.get_url(image.object_type, image.object_id,
                             image.width, image.height, image.mimetype)
          if '?' in url:
              fmt = '{0}&_ts={1}'
          else:
              fmt = '{0}?_ts={1}'
          return fmt.format(url, image.created_at.strftime('%Y%m%d%H%M%S%f'))
docs: Gets the URL of the given ``image``.
  
          :param image: the image to get its url
          :type image: :class:`sqlalchemy_imageattach.entity.Image`
          :returns: the url of the image
          :rtype: :class:`str`