you don't need to get the screen resolution for that. if you still want the screen resolution you'll have to look at javascript. just assign the pictures width to 25%. no matter the screen size, or resolution ie will set the picture to 25% of the window. it's pure html...
<img src="image.jpg" width="25%" /> "Bjarke Andersen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > I've just started with PHP and i trying to find a function for getting the > screen resolution, if that i posible?? > I need it to resize pictures, so that nomatter what resolution a user haves, > a picture allways uses for example 25% of the width of the screen... > > I hope someone can help me! > > Thanks > Bjarke > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php