Re: [PHP] fit window to image

2003-01-17 Thread Marek Kilimajer
You need to change directory permissions too Ezequiel Sapoznik wrote: ok, I try with $size = getimagesize ("../images/1817.jpg"); echo "$size"; ?> to then use the x and y with a javascript code like: window.open ('win_sizer.html','Photo','toolbar=yes,status=yes,scrollbars=yes,location=ye s,m

Re: [PHP] fit window to image

2003-01-16 Thread Ezequiel Sapoznik
ok, I try with to then use the x and y with a javascript code like: window.open ('win_sizer.html','Photo','toolbar=yes,status=yes,scrollbars=yes,location=ye s,menubar=yes,directories=yes,width=x,height=y') But in the php part, I am receiving the following error: Warning: getimagesize: Unable

Re: [PHP] fit window to image

2003-01-16 Thread Justin French
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

Re: [PHP] fit window to image

2003-01-16 Thread Weston Houghton
This wouldn't really be done in PHP. This is a Javascript element, as it requires work to be done on the client side. You could easily make a combination of PHP and Javascript to do this with any set of images though. Wes On Thursday, January 16, 2003, at 08:37 PM, Ezequiel Sapoznik wrote:

RE: [PHP] fit window to image

2003-01-16 Thread Timothy Hitchens \(HiTCHO\)
> Sent: Friday, 17 January 2003 11:38 AM > To: [EMAIL PROTECTED] > Subject: [PHP] fit window to image > > > Hi! > > Is there anyway in php to fit the window to the size of an image? > > Thanks! > > Ezequiel > > > > -- > PHP General Mailing

[PHP] fit window to image

2003-01-16 Thread Ezequiel Sapoznik
Hi! Is there anyway in php to fit the window to the size of an image? Thanks! Ezequiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php