Display specific images - Page 2 Display specific images - Page 2
 

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

Main Menu

Display specific images

Started by Robbi99, January 16, 2007, 07:15:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FlyingMongoose

#20
<?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.

FlyingMongoose

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

FlyingMongoose

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... :-/

vuud

Quote from: FlyingMongoose 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... :-/

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.




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

Quote from: vuud on January 22, 2007, 05:06:59 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...


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