Adding images to your site
Adding images to other sections of your web site
You can also add your images to other sections of your web site. You can choose to embed individual images in text for individual articles or sections, or to put images into any part of your site such as the header or footer.
Adding images to any part of the site
You can put images into any part of the site using the Other content part of the admin system. See Adding other content to your site for details.
Embedding images in text
To embed an image, you need to use special coding within the copy of the respective section. This coding can be optionally enhanced to left align the image within your copy, right align, embed a thumbnail image with a pop-up, add the image’s caption, and even link through to the gallery (if the image appears in one).
To add an image:
- firstly upload the image in the usual way in Photos and take a note of the photo ID number
- then go to the Section you would like to add the image to
- under the main copy of that Section, use the following codes within the copy to add the image and apply the photo ID number to the figure x:
| Add a standard image | [[image id="x"]] |
| Add it as a thumbnail only | [[image id="x" thumbnail="yes"]] |
| Add & align to the left|right|middle | [[image id="x" style="left|right|center"]] |
| Add it with a link | [[image id="x" link="yes"]] |
| Add it with a caption | [[image id="x" caption="yes"]] |
| Add it as a pop-up | [[image id="x" popup="yes"]] |
You can combine any of these features: here is an example of how to set up an image aligned to the right and using a thumbnail with a caption and a link (note the spaces):
[[image caption="yes" thumbnail="yes"
link="yes" id="x" style="right"]]
There are some places where the image tag won't function – in the description field for photos for instance and in title fields.