One of the smallest temple I have ever seen, located at the entrance of the Non Teaching staff colony Road, in Vidhyanagar of Tirupati.
So, when Ganesha denied Lord Shiva entry into his abode--because Goddess Parvati was bathing inside--Shiva decapitated Ganeshas head in anger. According to legend, an elephant was the first animal that Lord Brahma later found when he went out to look for one (to replace Ganeshas head).
Good