[Solved]: Resize stopped working [Solved]: Resize stopped working
 

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

[Solved]: Resize stopped working

Started by drnet.online, June 11, 2009, 05:46:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

drnet.online

Ok i am having 2 problems. 1: It wont open in a new window. and 2: and my image width won't work.

<?php
  
include_once "./cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$options = array('windowtarget' => '_blank',"imagewidth"=>"35");
?>

drnet.online


Nibbler

That's the same problem. Your code should be


<?php
  
include_once "./cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch/cpmfetch_config.php");
  
$options = array('windowtarget' => '_blank',"imagewidth"=>"35");
  
$objCpm->cpm_viewLastAddedMedia(1,4,$options);
?>


drnet.online