Advanced search  

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]

Pages: [1]   Go Down

Author Topic: cpmfetch with target=_blank????  (Read 4571 times)

0 Members and 1 Guest are viewing this topic.

heylito

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
cpmfetch with target=_blank????
« 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!
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1510
  • aka 'i-imagine'
    • Home Page
Re: cpmfetch with target=_blank????
« Reply #1 on: June 04, 2009, 12:57:26 am »

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

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: cpmfetch with target=_blank????
« Reply #2 on: June 04, 2009, 12:57:36 am »

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)
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: cpmfetch with target=_blank????
« Reply #3 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.
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: cpmfetch with target=_blank????
« Reply #4 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?"
My name appears 3 times in the thread so instead of feeling bad, I feel flattered.  ::)  


What a moron!!


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

Catching up! :)
Pages: [1]   Go Up
 

Page created in 0.139 seconds with 20 queries.