forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: Myroslav on October 24, 2004, 07:01:40 pm

Title: Open images in a new window
Post by: Myroslav on October 24, 2004, 07:01:40 pm
Hello,
I from Ukraine also apologize for my bad English language.
I need to make precisely as on this site, http://buchach.com.ua/index2.phtml (when I press on thumbnail a picture opening big in a separate window (only the image)), I tried to change code in theme.php:

Code: [Select]
'{LINK_TGT}' => "javascript:MM_openBrWindow('displayimage.php?pid={$thumb['pos']}&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=1024,height=768')",
but I have an inscription " The selected album/file does not exist ".
Very much I ask you to help me with it, if it is possible in detail to describe as in what fail to change.

Myroslav
Title: Re: Open images in a new window
Post by: Myroslav on October 26, 2004, 08:45:59 pm
Really nobody knows, how it to make.
Very much I ask to help me.
Title: Re: Open images in a new window
Post by: Tranz on October 26, 2004, 09:10:23 pm
Do you have an example? I clicked on a couple of thumbnails and was able to see the full-size image.
Title: Re: Open images in a new window
Post by: Myroslav on October 26, 2004, 09:45:17 pm
Do you have an example? I clicked on a couple of thumbnails and was able to see the full-size image.

>  Do you have an example?
No, I did not meet such example, but I think such possible (probable).

> I clicked on a couple of thumbnails and was able to see the full-size image.
And it is necessary for me by pressing the thumbnails image open in a new window without a header and footer...

Myroslav
Title: Re: Open images in a new window
Post by: Tranz on October 26, 2004, 09:46:38 pm
Wait, so the link you posted was an example of something that you wanted to have, and not of your actual site? Could you please post your actual site?
Title: Re: Open images in a new window
Post by: Myroslav on October 26, 2004, 10:07:32 pm
Wait, so the link you posted was an example of something that you wanted to have, and not of your actual site? Could you please post your actual site?

It also is my site but there is an old photo gallery, and i want to change her to coppermine gallery.
Just i managed to make so that the image in a new window correctly opened! :)
Code: [Select]
'{LINK_TGT}' => "javascript:MM_openBrWindow('displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=800,height=600')",But it is necessary for me, that in this window beat only the image as in old gallery.

Myroslav
Title: Re: Open images in a new window
Post by: Joachim Müller on October 27, 2004, 07:13:56 am
things are not that simple, putting the line
Code: [Select]
'{LINK_TGT}' => "javascript:MM_openBrWindow('displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=800,height=600')",
in is just wishfull thinking, not actual coding. Thumbnails opening directly in a pop-up instead of the intermediate size image display page has been requested before, please search the board (I'm not sure though if anyone has actually come up with a working solution for this).

Joachim.
Title: Re: Open images in a new window
Post by: kaizer on April 17, 2006, 02:20:10 pm
I've looked at Myroslav's website, http://buchach.com.ua/album/thumbnails.php?album=12 (http://buchach.com.ua/album/thumbnails.php?album=12)

and he managed to achieve exactly what he was asking for! 
How did he do it?

I think he's using coppermine 1.3.2 .  would it be any different with 1.4.x?


Thanks!


K
Title: Re: Open images in a new window
Post by: Joachim Müller on April 18, 2006, 09:12:57 am
don't ask cpg1.4.x-related things on a board named "cpg1.3.x support". Locking