Bonjour,All,
How to disable all full images popup, by just only one ?
I do not want disable popup when i click on this image or an other one, nerver mind.
I want to replace this popup by only one, the same for all images in my gallery.
Many thanx if it's possible ;)
Pascal
edit displayimage, find $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')\">";
$pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
$pic_html .= "</a>\n";
and replace with anything you could possible come up with.
Joachim
Joachim,
So fast GauGau ! and with the solution... ah ah !
Merci a lot, Thanx
Pascal
GauGau,
Full modif applied (-:
Work Fine !
Happy, i'm ! ;)
Pascal
ps : in few days in French Coppermine !
http://forum.coppermine-gallery.net/index.php?board=38.0
Thanx for all of us
Quote from: GauGau on January 08, 2005, 07:42:23 PM
edit displayimage, find $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')\">";
$pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
$pic_html .= "</a>\n";
and replace with anything you could possible come up with.
Joachim
I have tried to delete this part, to delete the code after §pic_title= & §pic_html= on all 4 lines, and comment it out.
But the only thing that happen to me is that the big picture that was supposed to be "blocked" disappears instead and there is only a dot image.
Could you give me an example?
Do not delete or comment out
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
This code is responsible to show the image.
Alter the lines above and below this code. If you dont want the full size image to be displayed then just modify the line
$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')\">";
and remove the onClick attribute.