I added echo and basename per your advice...
'FileName' => "".echo(basename($Recordset1->getColumnVal("imgProfilePhoto"))) ."",
It can't work. Syntax error.
I tried adding basename this way instead...
'FileName' => "".(basename($Recordset1->getColumnVal("imgProfilePhoto"))) ."",
No syntax error. But I still face the problem of the .png appending with every file upload.echo