Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

How to read image file from a URL and save the image in image library in sharepoint 2010

$
0
0

Hi,

I have a custom list in Sharepoint 2010 which contains a column named ImageURL.  This ImageURL column contains a URL which specifies an image which is stored on another server.

eg:

http://urn2.dss.com/Imagefolder/cust.png

What I need to do is read this image in my class file in C# and store the image in the image library in Sharepoint 2010.

Then in my custom list, in the ImageURL column instead of specifying the URL which is present on the server directly, I will give the relative url for the sharepoint site/library where the image is stored.

Its an urgent requirement , could you please let me know how I could achieve this? If someone could share some code/steps tha specifes how this can be done the it would be very helpful.

Regards,

Raj


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>