I tried everything I could think of.
If I take out all of the code in my index.php page, except for the admintoolbox, it still shows the wrong toolbox (Admin Toolbox
Admin
Sort gallery
New album
Logout)
However, if I copy all of the code from a different image.php theme, it works correctly.
What tag is the toolbox looking for, in the page, that tells the toolbox that the page is the image.php page?