Adding A Photo Gallery

From Albany Hilltowns
Revision as of 08:55, 12 January 2009 by Russ (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adding A Photo Gallery

A photo gallery is one or more thumbnails grouped together to form an album. This code is already included in the biography templates. It is used to add additional images to your biography related to that person. However, it can be used on any page.

An example of it being used in a biography page the Luella Bassler biography.
An example of it in use on a non biography page the is Schoonmaker's Store

STEP 1: In order to add the code to any page Copy the below image code: (to copy: highlight it, right click and select 'copy').

==Additional Media==
<gallery>
Image:{filename}|<center>{caption}</center>
Image:{filename}|<center>{caption}</center>
Image:{filename}|<center>{caption}</center>
Image:{filename}|<center>{caption}</center>
Image:{filename}|<center>{caption}</center>
Image:{filename}|<center>{caption}</center>
{...}
</gallery>

STEP 2: Go to the page where you want to put your image and click the 'edit' tab on the top of the screen. Right Click in the place on the page you want the image and click on 'paste' to paste the image code you copied in Step 1. You will see then see the code you copied.

STEP 3: Once you have pasted the image code in the page, change the text {filename} to the name of the picture you uploaded and want to appear (e.g. mynewimage.jpg) Including the "{" and "}". Then, change the text in the code {caption} to what you want the caption under the photo to say.