Iframe link Src Iframe link Src
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Iframe link Src

Started by blowfishdl, November 16, 2007, 07:32:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blowfishdl

Hi all,

I can't figure out how to make my iframe of coppermine images (using cpmfetch) open in document.window instead of the document.iframe that is default to the browser.

Thanks in advance.

blowfishdl

In other words the Iframe opens the link in the Iframe itself, rather than the entire window.. Just to clarify.

blowfishdl

I may even have to modify the coppermine gallery links so that they specify to open in the current window?

lobosden

it's not in the iframe code...
it is in the php script for your cpfetch

I used this

<?php
  include "./whatever/whatever/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./forwhatever/whatever/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewRandomMedia(1,4,array("windowtarget" => "_parent"));
  $objCpm->cpm_close();
?>

lobosden

notice the array.... winow parent? you can use blank too, it will open in a NEW window, or use new.

blowfishdl

excellent work homie.. mad props to the nigga with the ansuz

lobosden