configuring root as pictures#index