upload image bug - fix

Signed-off-by: hugosaner <hugo@sanerdesign.com>