how to make thumbnails with php
<p>I was just wondering how I can make thumbnails of images stored in hdd and use them in an html page, also I need the thumbnails to be able to enlarge (to their original size) if clicked on preferably inside  a div tag on the same page, I would appreciate if anyone could put me in the right direction</p>

<p>thanks</p>
