switch resource photo's to local