fix photo posting