GD-lib viser ikke billede!
Jeg kan ikke se billedet, men der er ingen fejl? Er der nogen som kan hjælpe?<?php
$image = "pictures/tshirtrod.jpg";
$size = getimagesize("$image");
$height = $size[1];
$width = $size[0];
if ($height > 150)
{
$height = 150;
$percent = ($size[1] / $height);
$width = ($size[0] / $percent);
}
else if ($width > 150)
{
$width = 150;
$percent = ($size[0] / $width);
$height = ($size[1] / $percent);
}
echo "<img src\"pictures/tshirtrod.jpg\" height=\"$height\" width=\"$width\" />";
?>
