coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: rlo on January 12, 2008, 11:47:03 PM

Title: in a iframe integrated cpmfetch opens no new window. need help
Post by: rlo on January 12, 2008, 11:47:03 PM
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
Title: Re: in a iframe integrated cpmfetch opens no new window. need help
Post by: rlo on January 13, 2008, 12:49:01 AM
the problems are solved. i found something in the forum.

thanks rlo
Title: Re: in a iframe integrated cpmfetch opens no new window. need help
Post by: Pascal YAP on January 13, 2008, 12:59:58 AM
What is "SOLVED" for exemple for all other Users who're find the same issue ?
Thanx.
Title: Re: in a iframe integrated cpmfetch opens no new window. need help
Post by: ib2loud on February 23, 2008, 04:20:37 AM
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
Title: Re: in a iframe integrated cpmfetch opens no new window. need help
Post by: ib2loud on February 23, 2008, 04:21:19 AM
sorry i forgot the ' after imagelink also, it should be 'imagelink'