Well, that example wasn't correct, but your fix is wrong too.
$size[3] contains something like width="1024" height="768", so it
should be
echo "<img src=\"img/flag.jpg\" {$size[3]}>";
Sander
On 2002.04.06 12:06 Simone Cortesi wrote:
> cortesi Sat Apr 6 05:06:13 2002 EDT
>
> Modified files:
> /phpdoc/en/functions image.xml
> Log:
> converting function names in examples to be lowercase
> fixing getimagesize example: it was not good HTML
> fixing layout of examples: they were not spaced correctly
>
> [snip]
>