Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.