West Virginia jail officials are investigating an inmate's use of a cellphone to take photos of himself and others inside a transport van and posting them online.

Department of Military Affairs and Public Safety spokesman Lawrence Messina says the phone was confiscated before the inmates entered the Western Regional Jail.

Twenty-seven-year-old Shane Holbrook of Huntington told media outlets he posted three photos on his Facebook page Monday. He says he was trying to have a good time while in jail and that "we're already here, why be miserable?"

Holbrook appeared in Cabell County court on malicious wounding and armed robbery charges before getting back into the van. Holbrook didn't specify where the phone came from, only that it was within his reach.

Messina says the incident is under investigation.