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 [2]   Go Down

Author Topic: Display specific images  (Read 12728 times)

0 Members and 1 Guest are viewing this topic.

FlyingMongoose

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Display specific images
« Reply #20 on: January 19, 2007, 09:53:13 pm »

Code: [Select]
<?php
require_once('./gallery/cpmfetch/cpmfetch.php');
/* $objCpm = "";
$objCpm = new cpm($PartialUrlToCPG);*/
$objCpm = new cpm();
$options = array(
"imagelink" => "large",
"windowtarget" => "_blank");
$image = 1;
$objCpm->cpm_viewMediaByPid($image,$options);
$objCpm->cpm_close();
?>

I gave you a link: and I've modified the bridge file and it's not worked in the psat.
« Last Edit: January 25, 2007, 03:14:53 am by vuud »
Logged

FlyingMongoose

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Display specific images
« Reply #21 on: January 19, 2007, 10:10:21 pm »

I think I told you: it works inside the cpmfetch directory inside my gallery, but I can't put it anywhere else, however I never get any kind of image output.

I pm'd you links
Logged

FlyingMongoose

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Display specific images
« Reply #22 on: January 22, 2007, 04:37:57 am »

I am just having nothing but problems with the PHPBB bridge :-/  I can't display any images whatsoever...it gets DB info (it seems) it just has no display... :-/
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Display specific images
« Reply #23 on: January 22, 2007, 05:06:59 am »

I am just having nothing but problems with the PHPBB bridge :-/  I can't display any images whatsoever...it gets DB info (it seems) it just has no display... :-/

I PM'd you a code change to put in.  Will be public in the next dev release - hopefully I will have that out tomorrow early evening.

Sorry for the delay in getting it to you.




Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Display specific images
« Reply #24 on: January 25, 2007, 03:29:41 am »

I PM'd you a code change to put in.  Will be public in the next dev release - hopefully I will have that out tomorrow early evening.

Sorry for the delay in getting it to you.


To bring anyone up to date on this issue who may be experiencing the same problem...

The problem has been discovered as being an issue with how that web server is returning the SCRIPT_FILENAME variable.  I think it has to do with how PHP is being executed on the server.

Hopefully this will be resolved soon...


Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco
Pages: 1 [2]   Go Up
 

Page created in 0.017 seconds with 19 queries.