I added it like this, but nothing on home page still: <div class="cards"> <img src="@Url.Content("/shophere.co.uk/wwwroot/wwwroot/images/uploaded")" alt="" /> </div>
I added it like this, but nothing on home page still: <div class="cards"> <img src="@Url.Content("/shophere.co.uk/wwwroot/wwwroot/images/uploaded")" alt="" /> </div>
The line needs to be more like <img src="@Url.Content("~/images/uploaded/paypal_visa_mastercard_logo.jpg")" alt="" />
~ = start at root (probably wwwroot) /images/uploaded/ = the directory where the file is located paypal_visa_mastercard_logo.jpg = the file name to display
So now i added 2 wwwroot, as that where image is in "uploaded" folder, so added below, still not showing: <img src="@Url.Content("wwwroot/wwwroot/images/uploaded/paypal_visa_mastercard_logo.jpg")" alt="" />
~ = wwwroot There is no image at this address http://shophere.co.uk/images/uploaded/paypal_visa_mastercard_logo.jpg Show me the link that displays the image
So now i added 2 wwwroot, as that where image is in "uploaded" folder, so added below, still not showing: <img src="@Url.Content("wwwroot/wwwroot/images/uploaded/paypal_visa_mastercard_logo.jpg")" alt="" />
If you can make sure that paypal_visa_mastercard_logo.jpg is exists in wwwroot/images/uploaded directory, then make it