Open images in a new window Open images in a new window
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Open images in a new window

Started by Myroslav, October 24, 2004, 07:01:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Myroslav

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:

'{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

Myroslav

Really nobody knows, how it to make.
Very much I ask to help me.

Tranz

Do you have an example? I clicked on a couple of thumbnails and was able to see the full-size image.

Myroslav

Quote from: TranzNDance 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.

>  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

Tranz

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?

Myroslav

#5
Quote from: TranzNDance 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?

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! :)
'{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

Joachim Müller

things are not that simple, putting the line '{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.

kaizer

I've looked at Myroslav's website, 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

Joachim Müller

don't ask cpg1.4.x-related things on a board named "cpg1.3.x support". Locking