Transform images

We have a large image. How to convert it with jQuery? For example, make it smaller, etc. Which library should be used? Or, for example, such – as in contact – they clicked on the picture and it was displayed on a dark background of a larger size.
Recommend free libraries.

Answer 1, authority 100%

You can use the gallery FancyBox.

Only there everything is in English, but in Russian I can advise this: FancyBox – photo gallery + modal windows .

Answer 2

You can simply reduce the image with styles and in the javascript code on the onclick


Shadow and show full size…

Answer 3

As in contact: Designing images with jQuery.