Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Resize stopped working  (Read 4124 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.016 seconds with 15 queries.