Expand image with no javascript?

I know there is a way to script an image, with javacript, to expand when clicked on.

But is there a way to do this without javascript? I’m concerned about users with disabled javascript.

Something like one of the following?

Thank you Paul, - will look at.