Q: Is it permissible to take pictures but not post or share to the world, and keep it to yourself in your gallery, where it’s just for your eyes?

A: Pictures of all animate objects are haraam in Islam. Severe warnings have been sounded in the Mubaarak Ahaadith for all those who get involved in the grave sin of photography.
Rasulullah (sallallahu 'alaihi wasallam) said, "The people to be inflicted with the worst punishment on the day of Qiyaamah will be the picture makers."
In another Hadith, Rasulullah (sallallahu 'alaihi wasallam) cursed the one who receives interest, the one who gives interest, the tattooist, the tattooed and the picture maker.
In yet another Hadith, Rasulullah (sallallahu 'alaihi wasallam) said that the angels of mercy do not enter a home in which there is a picture of an animate object.
Therefore, even if you just take the photo and keep it in your gallery, you will still be sinful for taking the photo and keeping it in your gallery.
And Allah Ta'ala (الله تعالى) knows best.
Answered by:
Checked & Approved: