Forum resizing images?

Associate
Joined
17 Mar 2004
Posts
1,562
I have the AdInfinitum template installed on my forums, www.yorkshirejunkies.co.uk/forum

It seems to resize images when you enter them in a post, no matter what the original size is.

I've spotted a file called resizefix.php in the templates folder.

Code:
<html>
<head>

<!--

	ResizeFix v1.00 for phpBB
	www.mikelothar.com (c) 2004
	
	
	
	
-->

<title>Original size</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style type="text/css">
<!--
body { 
	background-color: #000000;
	scrollbar-face-color: #2b2b2b;
	scrollbar-highlight-color: #2b2b2b;
	scrollbar-shadow-color: #2b2b2b;
	scrollbar-3dlight-color: #2b2b2b;
	scrollbar-arrow-color:  #2b2b2b;
	scrollbar-track-color: #1b1b1b;
	scrollbar-darkshadow-color: #2b2b2b;
}

table { font-family: Verdana, Arial, Helvetica, sans-serif; font-size : 10; }
a:link,a:active,a:visited { text-decoration: none; color : #e5e5e5; }
a:hover		{ text-decoration: underline; color : #C51E21; }
-->
</style>


<script language="JavaScript">
window.onload = maxWindow;

function maxWindow()
{
window.moveTo(0,0);


if (document.all)
{
  top.window.resizeTo(screen.availWidth,screen.availHeight);
}

else if (document.layers||document.getElementById)
{
  if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
  {
    top.window.outerHeight = screen.availHeight;
    top.window.outerWidth = screen.availWidth;
  }
}
}

</script>


<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="99%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bordercolor="#FFFFFF"><div align="center">
        <table width="50" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td align="center"><table width="1" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td bgcolor="#000000"><a href="javascript:window.close();"><img src="<?PHP print $HTTP_GET_VARS[originalsize];?>" alt="Close this window" border="0"></a></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td></td>
          </tr>
          <tr>
            <td><div align="center"><br>
                <a href="javascript:window.close();">Close this window</a></div></td>
          </tr>
        </table>
      </div></td>
  </tr>
</table>
</body>
</html>

What do I need to change in there so it stops doing this? I've tried just commenting out everything, and reuploading, but it still manages to resize the images?

Cheers for any help, this has been bugging me for ages!
 
Back
Top Bottom