Larvae and juvenile zebrafish were anesthetized in 0.016% w/v tricaine methane sulfonate (Tricaine, MS-222) and immobilized in 5% methyl cellulose for imaging with a M165 FC stereo microscope and LAS Software V4.21 (Leica Microsystems). Total body length measurements and eye area were quantified using Fiji/ImageJ software [62 (link)]. Retinal and photoreceptor layer thickness were measured on cryosections prepared as described below and stained with Hoechst 33342 (1:10 000, Thermo Fisher) also using Fiji/ImageJ.