Originally the film opened with Ryan in the doctor's office, being told his wife is dying. Then we see him walking the streets, and the story is told in flashback.
He originally wrote Love Story as a movie, but turned it into a novel which was published just before the film went into general release.