Re: fit window to image
| From: | Justin French | Date: | Fri, 17 Jan 2003 02:18:25 +0000 |
| Subject: | Re: fit window to image | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131957@lists.php.net to get a copy of this message | ||
php can help, but remember, PHP only outputs HTML code to the browser... it
can't actually resize the window, because that's a client-side thing like
javascript.
but you can find out the x and y of an image with
http://www.php.net/manual/en/function.getimagesize.php
Then use this information in a javascript which resizes the browser window.
Of course for the javascripts, you'd need to ask a JS list, and remember
that not everyone has javascript, and not everyone enjoys the web developer
resizing their windows and 'taking control' of their browsers :)
Justin
on 17/01/03 12:37 PM, Ezequiel Sapoznik (ezequiel@mibbva.com.ar) wrote:
> Hi!
>
> Is there anyway in php to fit the window to the size of an image?
>
> Thanks!
>
> Ezequiel
>
>