forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: heylito on June 03, 2009, 11:30:42 pm

Title: cpmfetch with target=_blank????
Post by: heylito on June 03, 2009, 11:30:42 pm
Hello everybody, how r u?

I have a lil' problem with my cpmfetch showing the latest images of my gallery in my index, I have the latest images inside of a Iframe, the latest images shows perfectly BUT when I click on any images there it show me all the gallery and the picture selected inside of the Iframe, and I want it to show it in a new page, like the code target=_blank , how can I do that??? this is my code:

<?php
  include "./galeria/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./galeria/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,10);
  $objCpm->cpm_close();
?>

what code do i put and where do I put it???

I hope u can help me, thanks and have a nice day!
Title: Re: cpmfetch with target=_blank????
Post by: Joe Carver on June 04, 2009, 12:57:26 am
Search/read the docs that came with cpmFetch - look for the term "$option array" + windowtarget.
Title: Re: cpmfetch with target=_blank????
Post by: Fabricio Ferrero on June 04, 2009, 12:57:36 am
And stop breaking board rules! Resolve your threads. (http://forum.coppermine-gallery.net/index.php/topic,59504.0.html) (another (http://forum.coppermine-gallery.net/index.php/topic,59444.0.html)) as I already told you!

And do not double post! (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270632.html#msg270632) You cause a lot of moderator effort in vain! (Reference (http://forum.coppermine-gallery.net/index.php/topic,59875.0.html))
Title: Re: cpmfetch with target=_blank????
Post by: Joachim Müller on June 06, 2009, 12:42:26 am
Broke the rules once more and PMed me twice:
Hello, I hope u are doing alright!

I dont know nobody who can help me, I posted a lot of messages for help and nobody helped, i dont know why. I hope u can help me...

I have a problem with CPMFETCH, I have displaying the latest images on my index, I have it in a Iframe, the images shows perfectly, but when I click on any Images, it shows it inside of the Iframe, and I want them to show them in a new page, like target=_blank, but I dont know how to do that, This is my code:

<?php
  include "./galeria/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./galeria/cpmfetch/cpmfetch_config.php");
  $options = array('imagewidth' => '80', 'windowtarget' => '_blank', 'imagelink' => 'album');
  $objCpm->cpm_viewLastAddedMedia(1,10);
  $objCpm->cpm_close();
?>

and the code in bold is the codes that supposedly will target that image in a new page. but it doesn't work.

Did I make something wrong??? please help me! I will be soooooooo thanked forever with u. have a nice day

Anna
Hello, I hope u are doing alright!

I dont know nobody who can help me, I posted a lot of messages for help and nobody helped, i dont know why. I hope u can help me...

I have a problem with CPMFETCH, I have displaying the latest images on my index, I have it in a Iframe, the images shows perfectly, but when I click on any Images, it shows it inside of the Iframe, and I want them to show them in a new page, like target=_blank, but I dont know how to do that, This is my code:

<?php
  include "./galeria/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./galeria/cpmfetch/cpmfetch_config.php");
  $options = array('imagewidth' => '80', 'windowtarget' => '_blank', 'imagelink' => 'album');
  $objCpm->cpm_viewLastAddedMedia(1,10);
  $objCpm->cpm_close();
?>

and the code in bold is the codes that supposedly will target that image in a new page. but it doesn't work.

Did I make something wrong??? please help me! I will be soooooooo thanked forever with u. have a nice day

Anna

heylito, you're gone - banned. Seek support some place else. Don't dare to re-register. And yes: you made something wrong. In fact, you made everything wrong. Respect rules if you go to other places, or you'll get kicked there as well.
Title: Re: cpmfetch with target=_blank????
Post by: Fabricio Ferrero on June 06, 2009, 02:04:04 am
In fact, he left another post before you ban him. A nice flame. Yelling and insulting just to me. The subject of it is "¿Why don't you help?" (http://forum.coppermine-gallery.net/index.php/topic,59929.0/topicseen.html)
My name appears 3 times in the thread so instead of feeling bad, I feel flattered.  ::)  


What a moron!!


Bye bye heylito!!!!  :P