William Parish, 57, a photo editor at the White House, died at George Washington University Hospital Wednesday following a heart attack.

The White House press office said Mr. Parish had been stricken in his White House office.

Mr. Parish's duties included selecting and distributing photographs taken by photographers on the White House staff. He joined the White House about a year ago.

President and Mrs. Carter expressed their regret at news of his death and extended their sympathy to his family.

Mr. Parish was born in Evanston, Ill. He served in the Army Air Corps during World War II. He graduated from Columbia University in New York and later worked for a number of publications in New York and for the National Broadcasting Co. During his career in broadcasting he won two Peabody Awards.

Among the publications for which Mr. Parish worked was The Saturday Evening Post. He also was a guest lecturer at New York University from 1961 to 1971.

He moved to Washington in the early 1970s and worked for the Interior Department.

He was married to Eleanor Graves, and editor for Life magazine. The marriage ended in divorce.

Survivors include two sons, Alexander and William, both of New York City.