Thanks, I've used option 2 as the tNG stuff is all part of ADDT so that's what I'm removing.
Tweaked slightly to
if (file_exists("uploads/images/pages/". $Rsi_pages->getColumnVal("page_photo1")))
and it now appears to do what's needed so thanks :)
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.