I'm working on a forum application in PHP. In signature field I have
"<img src='randomimage.png'><br>bla blah
"
If an image is bigger than the field it stretches my tables and looks bad. Is there any way to re size the image if its too big?
Sorry for my poor English and thank you for reading
Edit: The thing is that it's not only the image. It's the image and the text "the big text".
Respectfully, Tom
Height and Width are in pixels. This is if you want to resize the image in HTML (which downloads the full image then "squishes" it around to the specified sizes).
If you want to programmatically alter the physical image file, check out the PHP GD functions: http://us.php.net/manual/en/ref.image.php