Photos are now loaded from db