ensure data POST contains src element