[[#wd Lookup TitleRecipe21 ]]
Overview
We would like to render our logo in an image tag and show it on each of our Web pages.
Preconditions
- We know what the image tag supports and what kind of options there are
- We have got our logo in a gif-format
- We have already some well configured pages
Steps to do:
- Define a image renderer specification.
Sample:
[[#wd DisplayAnythingRenderer {
/AnythingInfo {
"/ShowImage1 {"
" /Image {"
" /ImageName "coast_200x100.png""
" /Options {"
" "Border=2""
" }"
" }"
"}"
}
}]]
- Try out formatting and layout options.
Sample:
[[#wd DisplayAnythingRenderer {
/AnythingInfo {
"/ShowImage2 {"
" /Image {"
" /ImageName "coast_500x250.png""
" /Options {"
" "Border=0" "height=105" "width=365" "hspace=15""
" }"
" }"
"}"
}
}]]
- If you liked to have the same image on all of your COAST powered pages,
best would be to put the renderer specification in your shared-page-layout.
Sample:
See our itopia logo in Page.any:
[[#wd DisplayAnythingRenderer {
/AnythingInfo {
"..."
"[[#wd Image coast_200x100.png ]]"
"..."
}
}]]
Remarks
See renderer specification
Glossary
Related Topics
- [[#wd Lookup Recipe5 ]]: [[#wd Lookup TitleRecipe5 ]]