0

I want to show the images from the shared drive, I have published the solution and hosted in the IIS and created one directory named as "Images" which directs to the another server's shared folder having images. So I have to show those images in the web browser with C# MVC. Thanks in Advance.

closed as off-topic by Waqas Sarwar MVP, Taran Goel, user2536, Robert Lindgren Feb 22 '16 at 13:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Programming questions not specific to SharePoint are off-topic here, but can be asked on Stack Overflow." – Waqas Sarwar MVP, Taran Goel, Community, Robert Lindgren
If this question can be reworded to fit the rules in the help center, please edit the question.

1

Try this blog,

http://www.c-sharpcorner.com/uploadfile/dhananjaycoder/working-with-images-in-Asp-Net-mvc-framework/

Please let me know if you have any doubts. And mark as answer if this one helped.

  • Hello Gowtham, Thanks for your feedback, I have to do this without image class, I'm passing the only image name with model to the JsonResult and after that I am binding the html within the jquery success function. So over-here I am passing the physical folder name. Instead of this physical path I have to change this to the network path, Can you have any idea to do the same? – Ram Feb 22 '16 at 10:55

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