- Impact
- 18
I have seen it around places. I want to be able to display an image like this:
<img src="displayimage.php?image=http://www.namepros.com/images/npblogo2.gif" />
or something that will resize the image to fit a page. I could resize http://www.namepros.com/images/npblogo2.gif by using the height and width attributes, but php keeps most of the quality.
If someone could also show me how to make it so that it resizes to fit the size of the page, that would be great.
(eg: a user whos browser is not maximised won't have scroll bars - also, as they change the size of the browser, it changes size too. like on google maps)
Thanks a lot
Tom
<img src="displayimage.php?image=http://www.namepros.com/images/npblogo2.gif" />
or something that will resize the image to fit a page. I could resize http://www.namepros.com/images/npblogo2.gif by using the height and width attributes, but php keeps most of the quality.
If someone could also show me how to make it so that it resizes to fit the size of the page, that would be great.
(eg: a user whos browser is not maximised won't have scroll bars - also, as they change the size of the browser, it changes size too. like on google maps)
Thanks a lot
Tom







