image links

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 anni tempo fa
Hi, sorry if this is a dumb question. In version 2.2 I am trying to add images to the Index.html page. The images are located in the theme I created and I can link to them when adding to the built in nC Index.cshtml view, but when I put an Index.cshtml view in my theme to overwrite the base one, the pictures do not show up, even after updating their references. I'm pretty sure I have the references correct as visual studio underlines it it green when you don't have it correct. I am using html tag <img src="../../Themes/KelseaEcho/Content/images/DragonsHomePage.jpg" /> in nC and <img src="../../Content/images/SaleHomePage.gif" /> for the one in my theme once I use my Index.cshtml view in my theme that doesn't work. Can someone please help me see what I'm missing? Thank you!
2 anni tempo fa
copy images to wwwroot\images
in image tag use
src="https:\\www.xxxxx.com\images\x.jpg"
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.