You've got some good words in your original post e.g., animated, image, resize, CSS, clicked on. And, I supplied one more, JavaScript. That's all it takes to get started finding them. The lightbox mentioned above is one you'll likely come across along with the dozens of lightbox clones that have been developed after being inspired by it.
SrWebDeveloper said:
Make it easy for us, angelwatt, include the link to yours!
Based on what was linked by the OP, my implementation would be more primitive than what he wants. Mine does what I wanted at the time, though I have built upon what I originally had. Though, mine is one of the easier ones to use as it doesn't require editing any of the HTML (besides a script tag). The script is on my site, which can be accessed through my profile here for those really wanting to see it.