Hi
I think I've searched all over the board and the documentation and I can't find anyone who asked this question. So forgive me if I missed it somewhere, but...
I'd like the pictures returned by cfmFetch to have be a link that just opens a pop-up window that is the same size as the intermediate picture and only shows the picture, nothing else.
So far, I've tried using linktemplate, but this is as far as I've gotten:
include_once "/...local_path_to_Coppermine.../cpmfetch/cpmfetch.php";
$objCpm = new cpm("/...local_path_to_Coppermine.../cpmfetch/cpmfetch_config.php");
$options = array('subtitle' => '{{pCaption}}', 'cellstyle' => 'cpmGalleryTD', 'linktemplate' => '/CopperMine/displayimage.php?pid={{pPid}}&fullsize=1', 'windowtarget' => '_blank');
$objCpm->cpm_viewRandomMediaFrom("album=2", 1, 3, $options);
$objCpm->cpm_close(); // Line 6
This code does work and each clicked image generates a new window, but I can't control the size of the window and it will only give me the full size picture. I'm hoping
there's a built-in way to do this, but if not, I'm hoping someone can help me hack it.
Any help is appreciated.
A quick follow-up to my question:
Someone suggested I try to use LightBox2 (http://www.huddletogether.com/projects/lightbox2/) to accomplish my pop-up window with the intermediate image because it looks so much cooler. I agree that would be way cooler, so I'm wondering if anyone else has successfully integrated LightBox2 with cpmFetch and if they would be willing to share their implementation.
Thanks in advance if anyone has.
Rob
does anyone know how to make the image open in a new window when a thumb i clicked?
thanks.
Don't hijack other's threads, but start a thread of your own!
is there a solution in the meantime?
i have the same idea - i only want to show the intermediate pic, when i click on the thumbs.
i was reading around but cant find a solution.
maybe there is a CP addict, who can give a hint...
i tryed hard to find out the problem, but i have no clue where to fix.
maybe there is some one out there who can help - i will pay if you make me a offer by PM.