in a iframe integrated cpmfetch opens no new window. need help in a iframe integrated cpmfetch opens no new window. need help
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

in a iframe integrated cpmfetch opens no new window. need help

Started by rlo, January 12, 2008, 11:47:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rlo

Hi,

i intergated teh cpmFetch in an iFrame. I see the picture i will but i have a problem.

Problem 1:
Wenn i klick on the picture it opens the coppermine gallery in the iframe.

Question 1:
i will open it on the top of the window. where must i change the code to  open the gallery in top of my opened window?


Problem2:
There ist a border around the Image.

Question:
where ist this border defined? How caqn i define a another color to this  border take them away?


I hope you can help me.

Greetings

RLO

rlo

the problems are solved. i found something in the forum.

thanks rlo

Pascal YAP

What is "SOLVED" for exemple for all other Users who're find the same issue ?
Thanx.

ib2loud

it may be messy as I am no coder, but this is what I did and it worked perfectly:

$options = array('windowtarget' => '_blank');
  $objCpm->cpm_viewRandomMediaFrom("cat=0",1,4, $options);

it will open the actual gallery in a new window. you can put a comma after the ' after blank and add 'imagelink => 'large' and it will open just the large image in a pop up

again, I am no coder but this is what I found to work

ib2loud

sorry i forgot the ' after imagelink also, it should be 'imagelink'