fix'ed POST empty image bug