subpage photo chooser

i hav eadded code to choose photos which are seen on every subpage
inside big winodow in the middle. everything is locked by auth