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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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