If it is possible in your global design and idea of the site. I would recommend putting the layout images in a image folder like you would do on non-umbraco sites.
A second option is to got to your media item and click the thumb. A new page will open with your image. Copy the url and there you go.
If that isn't an option, and you need a more custom way, just post your entire select of the top banner here.
I agree with bert. Images that are referenced in stylesheets should probably be placed with the stylesheet.
As for images such as banners and other content driven images, look at using inline xslt. You will likely find it to meet your needs.
There was also an example where Kasper created a custom control to execute xslt that was embedded in the template. I also tend to do simple macros for dynamic things such as banners.
A little unknown trick is to use the nodeID (no sure of the casing) to set the node of the umbraco:item tag. Thus, you can reference media items in umbraco:item tags just like you do with content.
Inserting image in mastertemplate
I'm going crazy with this issue!
I'm totally new to umbraco and close to giving up!
I've uploaded an image in Media to a folder named design.
Now I'm trying to insert the image with the property: topbanner
As I understand it should be done with:
[quote][/quote]
or
[quote][/quote]
But the image is not displayed? The src attribute is ''
What I'm a doing wrong - this should be VERY simple....
I´ve seen reports that indicates you need to end the code with rather that just />
Havent tested it.
/Finn
If it is possible in your global design and idea of the site. I would recommend putting the layout images in a image folder like you would do on non-umbraco sites.
A second option is to got to your media item and click the thumb. A new page will open with your image. Copy the url and there you go.
If that isn't an option, and you need a more custom way, just post your entire select of the top banner here.
I agree with bert. Images that are referenced in stylesheets should probably be placed with the stylesheet.
As for images such as banners and other content driven images, look at using inline xslt. You will likely find it to meet your needs.
There was also an example where Kasper created a custom control to execute xslt that was embedded in the template. I also tend to do simple macros for dynamic things such as banners.
A little unknown trick is to use the nodeID (no sure of the casing) to set the node of the umbraco:item tag. Thus, you can reference media items in umbraco:item tags just like you do with content.
Case
is working on a reply...