code: def store(self, image, file):
          
          from .entity import Image
          if not isinstance(image, Image):
              raise TypeError('image must be a sqlalchemy_imageattach.entity.'
                              'Image instance, not ' + repr(image))
          elif not callable(getattr(file, 'read', None)):
              raise TypeError('file must be a readable file-like object that '
                              'implements read() method, not ' + repr(file))
          self.put_file(file, image.object_type, image.object_id,
                        image.width, image.height, image.mimetype,
                        not image.original)
docs: Stores the actual data ``file`` of the given ``image``.
          ::
  
              with open(imagefile, 'rb') as f:
                  store.store(image, f)
  
          :param image: the image to store its actual data file
          :type image: :class:`sqlalchemy_imageattach.entity.Image`
          :param file: the image file to put
          :type file: file-like object, :class:`file`