Clam and cucumber are shot from the top, flow off, they were within 2" from the surface.
Others: through the glass. Nano-Cube 6 has excellent glass for photography (gorgonian and xenia) and others - in the common rectangular glass tanks.
Could be camera-specific, from 4 digital cameras I worked with (same class, only one is higher), only this camera makes satisfactory photos.