ok ok.... here we go !
here is a standard main.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
</head>
<body>
<div id="punwrap">
<div id="pun<pun_page>" class="pun">
<div id="brdheader" class="block">
<div class="box">
<div id="brdtitle" class="inbox">
<pun_title>
<pun_desc>
</div>
<pun_navlinks>
<pun_status>
</div>
</div>
<pun_announcement>
<pun_main>
<pun_footer>
</div>
</div>
</body>
</html>
Now here what you will do!
create a folder called user place it in the include folder!!
/include/user
inside this folder you will place photo.php
create this called photo.php
<?php
include '/coppermine/showthumb.php';
?>
save this as photo.php inside the include/user folder
path: /include/user/photo.php
now open main .tpl
add this to where you want the images to show up!!!
<div class="block">
<h2><span>test</span></h2>
<div class="box">
<div class="inbox">
<pun_include "photo.php">
</div>
</div>
</div>
here what the main.tpl should look line!!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
</head>
<body>
<div id="punwrap">
<div id="pun<pun_page>" class="pun">
<div id="brdheader" class="block">
<div class="box">
<div id="brdtitle" class="inbox">
<pun_title>
<pun_desc>
</div>
<pun_navlinks>
<pun_status>
</div>
</div>
<pun_announcement>
<div class="block">
<h2><span>test</span></h2>
<div class="box">
<div class="inbox">
<pun_include "photo.php">
</div>
</div>
</div>
<pun_main>
<pun_footer>
</div>
</div>
</body>
</html>
that is it... simple !
Q