an html template that is read through file() has line like:
<td width="153"><div align="center"><a href="image10.jpg"><img src="tmbimage10.jpg" width="120" height="90"></a></div></td>
is there any way that php could get the dimension of the image? i mean get the width (120) the assign to a variable.. $width for example and also the height (90).. $height..
the dimensions are the only ones given in the html template.. the script is program to thumbnail an image.. then link it as source and as link.. the size of the thumbnail is dependent on what is defined in the template.. hope you follow what i'm saying..
my problem is how could i be able to get the dimensions so i could thumbnail the image as what is required by the template...