Imaged gets black

why does this happen?