Edit img directory in posts