As I embark on creating a new website using Umbraco(version 6.1.1 with razor), I find myself in unfamiliar territory as a newcomer to the world of Umbraco. My settings panel currently appears like this:
Within my Master template, I have implemented my CSS styling and JavaScript like so, with their paths correctly set up:
<link rel="stylesheet" href="/css/mobile.css"/>
<script src="/scripts/jquery-2.0.2.js"></script>
The paths for CSS and scripts are functioning perfectly, which is a good sign.
However, I am now faced with the challenge of sourcing images for my site. Uncertain about where to store images and how to define their paths, I seek guidance.
For instance:
I attempted uploading pictures to Media folder
In my Master template, I experimented with the following:
<img src="/media/A.jpg" alt="Smiley face" height="42" width="42">
<img src="/media/images/A.jpg" alt="Smiley face" height="42" width="42">
And in the CSS file:
background-image:url('/media/images/A.jpg');
Regrettably, these attempts proved unsuccessful. It is clear that I lack the correct method of accomplishing this :(
Hence, I require assistance in understanding the proper procedure for storing images in Umbraco and accurately defining their paths in CSS files and template files.
Please lend me your expertise!
Thank you in advance ....