sorry. i forget to add one thing. when i use the full extent of the table in mapfile EXTENT, then it draws at that extent the whole data table, and on click it also centers the image, but with the extent of the small area, it is not centering it but showing a blank image.