Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Resize stopped working  (Read 4314 times)

0 Members and 1 Guest are viewing this topic.

drnet.online

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
[Solved]: Resize stopped working
« on: June 11, 2009, 05:46:22 pm »

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

Code: [Select]
<?php
  
include_once "./cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$options = array('windowtarget' => '_blank',"imagewidth"=>"35");
?>
« Last Edit: June 11, 2009, 07:16:22 pm by Nibbler »
Logged

drnet.online

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Resize stopped working
« Reply #1 on: June 11, 2009, 05:46:52 pm »

my Site is Trionetwork.Org.
Logged

Nibbler

  • Guest
Re: Resize stopped working
« Reply #2 on: June 11, 2009, 05:51:54 pm »

That's the same problem. Your code should be

Code: [Select]
<?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);
?>

Logged

drnet.online

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Resize stopped working
« Reply #3 on: June 11, 2009, 07:09:44 pm »

Thanks a bunch :)
Logged
Pages: [1]   Go Up
 

Page created in 0.047 seconds with 19 queries.