Hey everybody!
I know this post must be somewhere else here, but I cannot found it! Sorry :-[
My simple question is: Where do I paste the cpmfetch code? I mean, I wanna paste in my index, but I've heard that it could be inside of a DIV or an Iframe, but in an Iframe it couldn't be because when u click an image it show it inside of that Iframe. It there any way to make it show in a new window?
thanks
Mary Smith
You paste it into the page you want to appear it in. We can't tell you - it's up to you.
Thanks for reply Joachim!
Well I did it! I did it in a DIV, it works amazing, as I wanted, but how can I make it to watch the images in a new window??? 'cause when I click on any of those latest pics, it shows 'em in the same window.
Thanks a lot!
Mary Smith
We have a strict "One question per thread" policy. Did you search the board and read the cpmFetch documentation?
Hey!
Yes, I searched for this thread and I cannot found it! even I read the documentation and I didn't found nothing about it, that's why I ask here! :(
I hope somebody can help me!
Mary Smith
Sorry to post again! but I finally found it!!!!! yuhuuuuuu!
This is my code, and I have to add the codes in blod below:
<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$options = array('windowtarget' => '_blank','imagewidth' => '50',"imageheight"=>"75");
$objCpm->cpm_viewLastAddedMedia(1,10, $options);
$objCpm->cpm_close();
?>
Yuhu at least! thanks!
Mary Smith