News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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