I have this photo gallery below... some of the images used for both the full image and the thumbnail are of different sizes... would i be able to change the coding in some way that the script displays the images in their real size??? instead of having a predetermined size....
k
<?php
if ($x != 0) {
if ($x <= 1) {
print ("<img src=\"$other$x.jpg\" height=\"240\" width=\"320\" alt=\"$x\" border=\"0\" /><br>$photo_info[$x]\n");
print ("<a href=\"$PHP_SELF?x=$next\"><img src=\"$path$next-t.jpg\" height=\"75\" width=\"100\" alt=\"$next\" border=\"0\" /></a>\n");
}
else {
if ($x >= 27) {
print ("<img src=\"$other$x.jpg\" height=\"240\" width=\"320\" alt=\"$x\" border=\"0\" /><br>$photo_info[$x]\n");
print ("<a href=\"$PHP_SELF?x=$previous\"><img src=\"$path$previous-t.jpg\" height=\"75\" width=\"100\" alt=\"$previous\" border=\"0\" /></a>\n");
}
else {
print ("<img src=\"$other$x.jpg\" height=\"240\" width=\"320\" alt=\"$x\" border=\"0\" /><br>$photo_info[$x]\n");
print ("<a href=\"$PHP_SELF?x=$previous\"><img src=\"$path$previous-t.jpg\" height=\"75\" width=\"100\" alt=\"$previous\" border=\"0\" /></a>\n");
print ("<a href=\"$PHP_SELF?x=$next\"><img src=\"$path$next-t.jpg\" height=\"75\" width=\"100\" alt=\"$next\" border=\"0\" /></a>\n");
}
}
print ("<a href=\"#\" onclick=\"javascript:window.close();\">Close Window</a>\n");
}
else {
while ($i <= 27) {
print ("<a href=\"javascript: void(0);\" onClick=\"window.open('$PHP_SELF?x=$i','photo_popup','toolbar=0,location=0,directories=0,status=0,menubar=0, scrollbars=0,resizable=0,width=405,height=400');\"><img src=\"$path$i-t.jpg\" height=\"75\" width=\"100\" alt=\"$i\" border=\"0\" /></a>\n");
$i++;
}
}
?>