Image zoom: click + hold to expand images

where do I put this code? Sorry, I don’t know programming.