8. A computer-implemented method comprising: receiving, by a server of an online system, an image from a client device of a user of the online system; determining user information of the user based on actions performed by the user stored in the online system; identifying a plurality of graphics provided at least in part by a plurality of users of the online system; determining a set of candidate graphics by filtering the plurality of graphics based at least in part on the user information of the user and by determining that, for at least one graphic of the set of candidate graphics, a corresponding user that provided the graphic is connected to the user on the online system; for each graphic of the set of candidate graphics, generating a score for the graphic indicating a likelihood of the user selecting the graphic; providing, by the server to the client device, the set of candidate graphics for presentation to the user on the client device in an order based on the scores; receiving, by the server from the client device, a selection for a candidate graphic of the set of candidate graphics; and providing, by the server to the client device, a composite view generated by overlaying the selected candidate graphic on the image for presentation to the user on the client device.
8. A computer-implemented method comprising: receiving, by a server of an online system, an image from a client device of a user of the online system; determining user information of the user based on actions performed by the user stored in the online system; identifying a plurality of graphics provided at least in part by a plurality of users of the online system; determining a set of candidate graphics by filtering the plurality of graphics based at least in part on the user information of the user and by determining that, for at least one graphic of the set of candidate graphics, a corresponding user that provided the graphic is connected to the user on the online system; for each graphic of the set of candidate graphics, generating a score for the graphic indicating a likelihood of the user selecting the graphic; providing, by the server to the client device, the set of candidate graphics for presentation to the user on the client device in an order based on the scores; receiving, by the server from the client device, a selection for a candidate graphic of the set of candidate graphics; and providing, by the server to the client device, a composite view generated by overlaying the selected candidate graphic on the image for presentation to the user on the client device. 9. The method of claim 8 , wherein the scores are generated by a model trained based at least in part on feature vectors derived from actions performed by a population of users of the online system.