KillerBean Posted April 6, 2006 Report Share Posted April 6, 2006 variants taads... kods: $x = imagesx('bilde.jpg'); it kaa manuaalii raxtiits >> imagesx ( resource image ) bet erroru izmet>> Warning: imagesx(): supplied argument is not a valid Image resource Link to comment Share on other sites More sharing options...
GedroX Posted April 6, 2006 Report Share Posted April 6, 2006 (edited) $im = @imagecreatefromjpeg('bilde.jpg'); if ($im) { $x = imagesx($im); } Bet labāk izmanto getimagesize() f-ju. Edited April 6, 2006 by GedroX Link to comment Share on other sites More sharing options...
Recommended Posts