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

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]

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 2 Guests 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'