added image upload support for the dashboard page