if you use
<INPUT NAME="imgSubmit" TYPE="image" SRC="...">
you can't use (as you normally would)
if (isset($imgSubmit))
{
// form was sent
}
to test whether the form was sent,
because image-submit buttons don't sent their name as a value
but the x/y-position where you clicked on the image.
so, after submitting the form you have two values:
imgSubmit.x and imgSubmit.y
because the dot is a spacial char in php, it is converted to _
in php you get 2 vars
$imgSubmit_x and $imgSubmit_y
and your test looks something like this:
if (isset($imgSubmit_x))
{
// form sent
}