Please Log in to join the conversation.
Hey nant!
i have defined my picture size bigger and now the pop up is too small... could you point me to the code where that is controlled?
there should be a setting in the backend, because changeing that by hardcoding is kind of tiresome;)
or is there a setting possibility i have missed???
see you!
fabs
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
$style = "style=\"padding:5px;\"";
if ($pgdisplaycount > 0){
// headings go here if needed
switch ($tabparams["cbpgdisplayformat"]){
case 'DF1': // image layout headings and inits
$icon = explode(",",$tabparams["cbpgbuttonslist"]);
$htmltext2 .= "<script language=\"JavaScript\">";
$htmltext2 .= "function pgpopup(pgimagefile,pgimagetitle,pgimagedescription) {\n";
$htmltext2 .= "var newWindow = window.open(\"\",\"newWindow\",\"height=" . ($tabparams["pgmaxheight"]+100) . ",width=" . $tabparams["pgmaxwidth"] . "\" );\n";
$htmltext2 .= "var imageurl = \"<img src=\" + pgimagefile + \">\";\n";
$htmltext2 .= "newWindow.document.open();";
$htmltext2 .= "newWindow.document.writeln(\"<div align='center' >\");\n";
$htmltext2 .= "newWindow.document.writeln(\"<title>Profile Gallery Image: \"+ pgimagetitle + \"</title>\");\n";
$htmltext2 .= "newWindow.document.writeln(imageurl);\n";
$htmltext2 .= "newWindow.document.writeln(\"<br />\");";
$htmltext2 .= "newWindow.document.writeln(pgimagedescription);\n";
$htmltext2 .= "newWindow.document.writeln(\"</div>\");\n";
$htmltext2 .= "newWindow.document.close();\n";
$htmltext2 .= "}\n";
$htmltext2 .= "</script>";
Please Log in to join the conversation.
Please Log in to join the conversation.