... the document to which you wish to associate the image needs  ... ( ? )

or

... the document to which you wish the uploaded image to be associated should implement the following method: