[[#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

Steps to do:

  1. Define a image renderer specification.
    Sample:
    [[#wd DisplayAnythingRenderer {
    	/AnythingInfo {
    		"/ShowImage1 {"
    		"	/Image {"
    		"		/ImageName "coast_200x100.png""
    		"		/Options {"
    		"			"Border=2""
    		"		}"
    		"	}"
    		"}"
    	}
    }]]
    
  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""
    		"		}"
    		"	}"
    		"}"
    	}
    }]]
    
  3. 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