he had once been a famous photographer in prewar germany , but by then was forced to eke out a marginal living , taking pin-up pictures of loose young ladies which he would then sell to soldiers passing through the city on their way to the pacific theater .