set limit on chars for post photo filename