Some starter code for wrecked photo importing