Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: cpmFetch wiith iframe in mybb  (Read 4710 times)

0 Members and 1 Guest are viewing this topic.

Schumuckl

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
cpmFetch wiith iframe in mybb
« 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=100height=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
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.