cpmfetch with target=_blank???? cpmfetch with target=_blank????
 

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

cpmfetch with target=_blank????

Started by heylito, June 03, 2009, 11:30:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

heylito

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!

Joe Carver

Search/read the docs that came with cpmFetch - look for the term "$option array" + windowtarget.

Fabricio Ferrero

And stop breaking board rules! Resolve your threads. (another) as I already told you!

And do not double post! You cause a lot of moderator effort in vain! (Reference)
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

Broke the rules once more and PMed me twice:
Quote from: heylito on June 06, 2009, 12:29:13 AM
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
Quote from: heylito on June 06, 2009, 12:29:25 AM
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.

Fabricio Ferrero

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?"
My name appears 3 times in the thread so instead of feeling bad, I feel flattered.  ::)  


What a moron!!


Bye bye heylito!!!!  :P
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)