Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Iframe  (Read 3231 times)

0 Members and 1 Guest are viewing this topic.

kris9090

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Iframe
« on: March 22, 2009, 03:57:33 am »

I tried it:
$options = array('windowtarget' => '_blank');

but it doesnt work with me I frame  :-\
Logged

Mr-Cute

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Iframe
« Reply #1 on: March 30, 2009, 04:42:07 pm »

<?php
  include "./gallery/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  $options = array('windowtarget' => '_blank');
  $objCpm->cpm_viewLastAddedMedia(1,2, $options);
  $objCpm->cpm_close();
?>
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.