I need a file (e.g. createThumbnail.php) such that if I were to call createThumbnail.php?file="example.jpg"&x="50"&y="50"
It would return the appropriate resized image
In otherwords, I would like to include the html code:
<img src=createThumbnail.php?file="ex.jpg"&...> </img>
Does anyone know how to do that?