Location: PHPKode > projects > PHP Toolbox > apidoc/imgScale.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE> imgScale</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
   <LINK REL="stylesheet" TYPE="text/css" HREF="docxx.css">
</HEAD>
 <body>
<h1>PHP/Toolbox#2</h1>
<a name=top>&nbsp;</a>
<div class="navbar">
=[<a href="index.html">Contents</a>]=[<a href="HIER.html">Class Tree</a>]=[<a href="#bottom">Bottom</a>]=
</div>
<br>
In file No file:<H2> <A HREF="#DOC.DOCU">imgScale</A></H2><H2>($img_file,  $MAX_W = 150,  $MAX_H = 150)</H2><BLOCKQUOTE>Calculates scaled dimensions for the specified image.</BLOCKQUOTE>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Calculates scaled dimensions for the specified image.
</BLOCKQUOTE>

<A NAME="DOC.DOCU"></A>
<DL><DT><DT><B>Parameters:</B><DD><B>string</B> - 
<BR><B>int</B> - 		- max image width.
<BR><B>int</B> - 		- max image height.
<BR><DT><B>Returns:</B><DD>  string	- "width=$scaled_width height=$scaled_height".<BR><DD></DL><P> <a name=bottom>&nbsp;</a>
<div class="navbar">
=[<a href="index.html">Contents</a>]=[<a href="HIER.html">Class Tree</a>]=[<a href="#top">Top</a>]=
</div><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>
Return current item: PHP Toolbox