Jacksonville teacher resigns after inappropriate pictures were put online