Added groups to upload image