I got this in my css
background:url(picture.jpg);
how do I know where to upload my background image so the stylesheets relates to it properly?
How to attach images to my template?
Re: How to attach images to my template?
You can upload anywhere you want, just make sure to use an absolute path
that is http://www.yoursite.com/img/image2.jpg
or if you are using it relative to where the stylesheet is it needs to be in the same folder as the stylesheet (as in the example you have).
that is http://www.yoursite.com/img/image2.jpg
or if you are using it relative to where the stylesheet is it needs to be in the same folder as the stylesheet (as in the example you have).
CMSMS Made
Re: How to attach images to my template?
Uh if you have the {metadata} tag in your template then in the css you can use url(uploads/images/image.jpg) or whatever your path is and you won't need an absolute path...
Me, I use a folder in uploads to hold all the images used in the template design like uploads/templatename so path would be url(uploads/templatefolder/image.jpg) so they aren't available to the editor in pages, these would be in uploads/images, please don't use root/images as this is mostly for the admin images not like a flat file site where you would use this type of structure...
Me, I use a folder in uploads to hold all the images used in the template design like uploads/templatename so path would be url(uploads/templatefolder/image.jpg) so they aren't available to the editor in pages, these would be in uploads/images, please don't use root/images as this is mostly for the admin images not like a flat file site where you would use this type of structure...