i have images sitting within project root @ data\images\articles. trying render image using code below in mvc:
<img src="@url.content(model.image)" alt="image" /> it's not displaying image, rendered html code correct.
<img src="/data/images/articles/16fd7bc5-3bac-474a-a806-b8d72b974960.png" alt="image"> i running project visual studio server, not through iis. idea doing wrong here?
different file name generating compare expecting in logic causing 404 error when validating image file name
Comments
Post a Comment