updated photo loading (not working yet...)