Shares of online photo company Shutterfly (SFLY) - Get Report  rose nearly 4% Friday after the company reported first-quarter ahead of expectations. 

The Redwood City, Calif.-based company reported a first-quarter loss of $2.44 per share, narrower than analysts' expectations that called for a loss of $2.53. The company reported revenue of $324.7 million, beating expectations of $323.1 million.

For the current quarter, Shutterfly expects to generate between $469 million and $479 million in revenue. For the full year, the company expects to earn between 61 cents and $1.11 per share on revenue ranging between $2.13 billion $2.21. 

Analysts expect the company to earn 71 cents per share on revenue of $2.17 billion for year. For the current quarter, FactSet analysts expect the company to report revenue of $475 million in the second quarter. 

The stock gained 3.8% to $43.80 in trading Friday.