How do I zoom, navigate like previous and next in an image gallery when an image is clicked?
Plz, I want to create an age gallery, such that when the image is clicked, it zooms out, it has to two buttons beside it. One on the left, and one on the right.
Those are the previous and next bottom.
I press outside the image, it goes back to it previous state.
I have already linked the first image to another. What I only put in the other page is a larger version of that image. So when I click it links me to that page.
And the user sees a larger version. And there are two butons, for previous and next.
But I don't want to create a page for every image.
It's going to be stressful.
But anyway I already did that.
I couldn't find an answer and it is very stressful.
Here's a link to .my repository on GitHub for what I did.