I want to add a button to have my visitors to my picture page be able to click it to go back to my webpage. Where would I insert the code?
In the themes/mytheme/template.html file.
or in themes/yourtheme/theme.php
This is how I did it editing the Rainy Day theme -- I'll bet others are similar. I copied what was there and pasted this above:
<!-- BEGIN home Added by THR 3/31/05-->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/rainy_day/images/button1_r1_c2.gif">
<a href="http://yoursite.com" title="Return to yoursite.com">Yoursite Home</a>
</td>
<td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END home -->
Works like a charm.
When you add a table cell to an existing table, you have to make sure that all other rows contain the new number of table cells. For example, if you have a table with 3 rows, and each row has 4 cells, and you add one more cell to row 2, you must now add another cell to rows 1 and 3, or have one of the cells span two columns (colspan).
Did you do this?