skrantzman / DNN_Tailwind

DNN_Tailwind is a powerful theme development platform that allows you to create robust and responsive DNN website themes, all while writing very little css.
https://www.dnntailwind.com
GNU General Public License v3.0
8 stars 0 forks source link

URL for images added in theme #13

Closed fnick851 closed 3 years ago

fnick851 commented 3 years ago

Please summarize your question in one sentence

I can add image file to src/images/ which will be copied to dist/images/. I wonder what is the URL for this image?

Give a more extended description

I need to refer to this image in custom CSS files and in HTML template files. Couldn't find this information in the doc, thanks!

Especially how to refer to images in the folder in a template file? I can find the images in Portals/_default/skins/dnntailwind-theme/dist/images/, how to get this path in template?

Steps to reproduce (if needed)

Other comments or remarks

fnick851 commented 3 years ago

I'm able to locate the image path with <%=SkinPath%>.