Is there a way you can get the width and height of an image dynamically??
Try looking up "image" in the manual, where you will find the getimagesize() function explained.
[man]getimagesize[/man]
thanks, I will check that out