Looking at a drawing will help. Go to
http://www.camrystuff.com and select Gen 3 repair manuals. This site has the manuals which can be down loaded. Down load the 5S-FE engine manual. It's size is 18mb. When you have this manual, go to page 286 (EG1-286), which is titled 5S-FE Engine Lubrication System. Here are the instructions for removal and installation of the oil cooler. Look at the drawings in this section for where the gasket goes. Take a closer look at the base of your oil cooler that mounts on the engine. I changed my gasket and O-ring about two months ago. And it's in the oil cooler base. How this helps you out.