It sounds like you need to create a lookup table in a database. The database table would have an ID and picture name value. Then your code would have an sql statement similar to:
if (isset($_GET[id])) {
$sql = "SELECT picture_name FROM SEAT WHERE ID=$_GET[id]";
$result = mysql_query($sql);
if ($row = mysql_fetch_array($result)) {
echo "<img src=images/$row[picture_name]>\n";
}
}
If this seems to be a bit overkill maybe try to combine the picture name and the id. For example have the image name
seat, underscore, id value, file extension
i.e. seat_12.jpg
Then you could create an image tag like:
echo "<img src=images/seat_{$_GET[id]}.jpg>";
Hope this helps generate a few ideas.