forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Schumuckl on April 19, 2007, 01:04:23 pm

Title: cpmFetch wiith iframe in mybb
Post by: Schumuckl on April 19, 2007, 01:04:23 pm
Hello and final accusing for the bad english, I hope we can nevertheless understand itself. I installed cpmFetch and bring the random pictures by iframe with me in the forum. It would please me, which if one clicks the pictures, which these open in an external window and I also still one was away between the pictures bring could

<?php
  include "./cpmfetch.php";
  $objCpm = new cpm("./cpmfetch_config.php");
 $objCpm->cpm_viewRandomMedia(1,5);
  $objCpm->cpm_close();
?>

my iframe

<html>
<head>
<title>{$settings[bbname]} - Dein Seitenname</title>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" width="100%" align="center">
<tr><td class="tborder">
<table border="0" cellspacing="1" cellpadding="4" width="100%">
<tr>
<td class="thead" width="14%"><b>Zufallsgenerierte Galeriebilder</b></td>
</tr>
<tr>
<td class="trow1" valign="top" colspan="2">
<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr>
<td valign="top">
<align=center><iframe src="meineurl/cpmfetch/gallery.php" width=100% height=125 frameborder="0" name="gallery" marginwidth="0" marginheight="0" align="top" border="0" allowTransparency="true"></iframe></center>
</td>
</tr></table>
</td>
</tr>
</table>
</td></tr></table>
</body>
</html><br/>

Sreenshot from my Board: http://www.e30freunde-preussen.de/screen.jpg

thus I would have sorted it gladly: http://www.e30freunde-preussen.de/screen1.jpg


I thank you already once in advance for your assistance

Schumuckl