Sorry, I did not mean the code was causing a problem, the code is fine. The problem is somewhere at my end..................
I have managed to identify what is causing the conflict of IP addresses.
I use Fat Cow to host my web site. A feature that can be used with Fat Cow is Akamai.
Akamai is an edge server caching solution, aimed to speed up your site's load times across the globe. When you add a subdomain to point to Akamai's servers, your site's images, CSS and javascript will be cached for up to 4 hours on Akamai's edge servers around the world - which means faster retrieval of your site's content for visitors who aren't close proximity to FatCow's servers located in Boston, MA.
This is giving the second IP address. Of course Akamai is of no use if you use dynamic content served from a SQL database. I have now turned of that feature and problem is solved.
My Zenphoto is now working perfectly. I just have to add some more content, and fine tune.
Oh, and thanks for the prompt replies! www.wayneandrews.net/zenphoto