Picture in Picture for your photo gallery

My phone doesn't let me do picture in picture from its photo gallery and that's just stupid.