We have developed flexible polymer-gel electrolytes based on a polyacrylate cross-linked matrix that confines an ionic liquid doped with a lithium salt. Free-standing solid electrolyte membrane is obtained after UV photo-polymerization of acrylic monomers dissolved inside the ionic liquid/lithium salt mixture. The liquid precursor of the photo-ionogel may also be directly deposited onto porous composite electrode, which results in all-solid state electrode/electrolyte stacking after UV illumination. Minor variations in the polymer component of the electrolyte formulation significantly affect the electrochemical behavior in LiFePO4/lithium and lithium/lithium cells. The rate performance increases with an increase of the ionic conductivity, which decreases with the polymer content and decreases with increasing oxygen content in the polyacrylate matrix. Their fairly low modulus endow them weak and beneficial pressure-sensitive-adhesive character. X-Rays Tomography shows that the solid-state photo-ionogel electrolytes keep their integrity upon cycling and that their surface remains smooth. The coulombic efficiency of LiFePO4/lithium cells increases with an increase of the adhesive strength of the photo-ionogel, suggesting a relationship between the contact intimacy at the lithium/photo-ionogel interface and the efficiency of the lithium striping/plating. In lithium/lithium cells, only the photo-ionogels with the higher adhesion strength are able to allow the reversible striping/plating of lithium.