News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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