SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom webpart and I want to upload an image, such that user provides the local path of the image and the image has to be stored in Sharepoint list Item of Type Hyperlink or Picture. The same has to be displayed once upload is complete. The functionality should be provided on the webpart.

How do I go about this, do I start with file upload control and save the image and than use image control to display the image? Can anyone provide me proper guidance as to how to go about the task.

I worked with normal asp application to store image onto the server, by specifying the folder name. Image Upload This works fine for me.

share|improve this question
up vote 2 down vote accepted

I uploaded image to a document library and stored the link to the image in the Field of type Hyperlink or Picture.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.