Advanced search  

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

Pages: [1]   Go Down

Author Topic: Open images in a new window  (Read 8901 times)

0 Members and 1 Guest are viewing this topic.

Myroslav

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Open images in a new window
« 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
Logged

Myroslav

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Open images in a new window
« Reply #1 on: October 26, 2004, 08:45:59 pm »

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

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Open images in a new window
« Reply #2 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.
Logged

Myroslav

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Open images in a new window
« Reply #3 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Open images in a new window
« Reply #4 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?
Logged

Myroslav

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Open images in a new window
« Reply #5 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
« Last Edit: October 26, 2004, 10:17:13 pm by Myroslav »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Open images in a new window
« Reply #6 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.
Logged

kaizer

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Open images in a new window
« Reply #7 on: April 17, 2006, 02:20:10 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Open images in a new window
« Reply #8 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
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.