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: DHTML popuplayer instead of Window Popup Big Pic ?  (Read 7158 times)

0 Members and 1 Guest are viewing this topic.

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
DHTML popuplayer instead of Window Popup Big Pic ?
« on: January 13, 2004, 10:58:45 pm »

Hi

Please go to http://www.sortons.net (IE / Win if possible :))

So ... in DIV TICKER TEXTS (on the right) at moment, you'll see
a text with a PIC (Chakra)

Click on it ... anddddd ... waouhh DHTML rocks !!!

Even if I know DHTML is not your friend, I would like to know HOW to change in displayimage.php a DIRECT LINK to the PIC instead of a page containing the PIC for the Largest Size.

This script degrades well : if not compatible DOM, it opens a NORMAL popup window with the Pic ...

Thanx.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
DHTML popuplayer instead of Window Popup Big Pic ?
« Reply #1 on: January 14, 2004, 12:27:03 am »

in displayimage.php find
Code: [Select]
       $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";  - that's the place where the full size pop-up is done...

GauGau
Logged

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
DHTML popuplayer instead of Window Popup Big Pic ?
« Reply #2 on: January 14, 2004, 12:51:30 am »

Quote
'displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand())



Thanx Gaugau, but ... how to "have" the name of the pic ???

Quote
<a href=path/originalSIZE_name_of_the_pic.jpg>


??!

$pid ?
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.