The invention provides methods of making microparticle and nanoparticle ocular implants from a composition comprising: 99 to 60 % (w/w) of a photopolymerizable composition selected from the group of fragments or monomers consisting of polyalkylene glycol diacrylate and polyalkylene glycol dimethacrylate, wherein the photopolymerizable composition has a molecular weight in the range of 100 to 20,000 Dalton; a biodegradable polymer selected from the group consisting of aliphatic polyester-based polyurethanes, polylactides, polycaprolactones, polyorthoesters and mixtures, copolymers, and block copolymers thereof; a photoinitiator; and a therapeutic agent.