There are two ways to accomplish this: the "easy way" (that has all the drawbacks that sites using frames technology have) is using an iframe to include coppermine visually into an existing site. The more complex way (that leads to better looking results though) is creating your own theme and only including dynamic content (warning: dynamic content only, not your whole site's header and footer with all the html overhead) by using a custom header and custom footer (refer to the docs, the faq and this thread).
Joachim
Review this in particular:
this thread. .
You may also not need to incorporate both sites one inside the other. I wrote a theme interpreter for my own site that works in conjuction with the hardwood cpg theme. I run the gallery and my site side by side.
The overview is such: my docs are installed at "/" of the webserver. I upload a copy of the theme keeping the same dir structure as the coppermine theme for my web interface to use. (meaning, I actually have two copies of the theme on the website, one for my web to use, the other for coppermine to use. I didn't want to redirect all the paths in my index.php because it would make it impossible to continue updating the theme for both uses. Having the two copies allows me to make my interpreter independent and I can update both copies at any time, and won't have to recode anything.) I have Coppermine installed in /cpg.
My theme includes a home button, thats what hooks the site together. Gallery on my main site will take you to the themed CPG install. Clicking Home in CPG takes you back to my themed web page. It looks seamless to the user.
See how it works:
http://www.blueoxhardwoodflooring.comIncluded is the interpreter that I wrote for the web page.