bug fixes: check if picture not uploaded or deleted before show it.