Identify this science-fiction movie

In an old issue of Cracked is an article with funny photo-captions for pictures from a movie, which seems like something in the Planet of the Apes series, though I’m not sure. It includes:
A young, pretty woman–with great legs–in some kind of jail cell. :slight_smile:
A much older woman in such a cell.
A human with an ape head in a cell.
The ape creature attacking a German shepherd dog.
Anybody know what movie this was? :confused: