Make scaled-down image on HTML page clickable to see it in full size

92 views Asked by At

I'm recoding a website to make it responsive. For images, I'm using a CSS rule like img {max-wdith: 100%}. But if an image is scaled-down, I'd like to make it clickable so the visitor can open the full size version if required.

Can anyone recommend a good and robust solution for that (a jQuery plugin, etc)?

It would be nice if it were a smart wrapper for the classic HTML <img> tag to be SEO-friendly.

0

There are 0 answers