Re: [PHP] GetImageSize Problem

2001-12-19 Thread Mirek Novak
You can get this information from header of this image file. Structure of BMP is here: http://www.dcs.ed.ac.uk/home/mxr/gfx/2d/BMP.txt (found with google.com) M.N. --- [EMAIL PROTECTED] wrote: Hello, I'm PHPer from Korea. I have a problem with GetImageSize function. I wanted to know some informa

[PHP] GetImageSize Problem

2001-12-18 Thread seoz
Hello, I'm PHPer from Korea. I have a problem with GetImageSize function. I wanted to know some information about BMP image. So, I tried to use GetImageSize on PHP 4.0.5 , Linux. But, it didn't work. GetImageSize function returned nothing. Then, I tried it on PHP 4.0.6, Windows2000. Ooops.. I

Re: [PHP] GetImageSize() problem...

2001-05-15 Thread Rasmus Lerdorf
> I might have the same problem with PHP 4.0.5 (win2k). Some of the images > from my Kodak DC-260 digital camera, are not recognized correctly by > getimagesize for some reason.. > > Example: > > $imagehw = > GetImageSize("http://maasdelta.eve-software.com/foto/kinderspelen/P0007811.J > PG

Re: [PHP] GetImageSize() problem...

2001-05-15 Thread Edwin van Elk
""Eric Knudstrup"" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am having an issue with 4.0.5 where the following code snippet: > > $orig = imagecreatefromjpeg($tmp); > echo 'orig x: ' . imagesx($orig) . ' orig y: ' . imagesy($ori

Re: [PHP] GetImageSize() problem...

2001-05-03 Thread Eric Knudstrup
I think that was the first thing I tried. It might have something to do with the actual image itself. Images created with th PHP/GD routines come up with acceptable results. Thanks, Eric Quoting Dan Lowe <[EMAIL PROTECTED]>: > Previously, Eric Knudstrup said: > > I am having an issue with 4.0.

[PHP] GetImageSize() problem...

2001-05-03 Thread Eric Knudstrup
I am having an issue with 4.0.5 where the following code snippet: $orig = imagecreatefromjpeg($tmp); echo 'orig x: ' . imagesx($orig) . ' orig y: ' . imagesy($orig) . ''; $orig_size = getimagesize($tmp); echo "orig x: $orig_size[0] orig y: $orig_si

Re: [PHP] GetImageSize problem

2001-01-21 Thread eschmid+sic
On Sun, Jan 21, 2001 at 07:02:07PM +0100, Thies C. Arntzen wrote: > On Sun, Jan 21, 2001 at 03:05:31PM +, Sue Bailey wrote: > > I have a bunch of images living on one ISP's server which I want to use > > on another page on another ISP's server, with GetImageSize. I RTFM, and > > see "The filen

Re: [PHP] GetImageSize problem

2001-01-21 Thread Thies C. Arntzen
On Sun, Jan 21, 2001 at 03:05:31PM +, Sue Bailey wrote: > I have a bunch of images living on one ISP's server which I want to use > on another page on another ISP's server, with GetImageSize. I RTFM, and > see "The filename needs to be either relative to the current document, > or an absolute

Re: [PHP] GetImageSize problem

2001-01-21 Thread Romulo Roberto Pereira
endif chk for valid file types # got the pic dimensions, close the file fclose ($fd); return array( $width,$height,$type ); } else return array( '','','' ); }; file://endif valid file pointer chk }; // end function ?> Rom - Original

Re: [PHP] GetImageSize problem

2001-01-21 Thread Sue Bailey
Thanks Rom - I can get the pics with an img src tag, which is why I assumed that GetImageSize would also work - but now I'm told it only works on the local machine, so I guess I'll have to live with text jumping about while pics download. :( Romulo Roberto Pereira wrote: > > Hello! > > First -

Re: [PHP] GetImageSize problem

2001-01-21 Thread Romulo Roberto Pereira
Hello! First - some ISP block you from get files from their server by a httpd request (that is what php does... I think!). To be sure if this is set or not, in the other ISP (not the one that the images are) write a simple html like this: loading images between servers http://Domain/ImagesDir/I

[PHP] GetImageSize problem

2001-01-21 Thread Sue Bailey
I have a bunch of images living on one ISP's server which I want to use on another page on another ISP's server, with GetImageSize. I RTFM, and see "The filename needs to be either relative to the current document, or an absolute filesystem path. Thus absolute URL paths will not work." which is ab