Update image zoom post

This commit is contained in:
Ariejan de Vroom 2017-11-13 22:46:01 +01:00
parent 03e0a7af9a
commit a524889db9
Signed by: ariejan
GPG Key ID: AD739154F713697B

View File

@ -6,6 +6,10 @@ description = "I'm a back-end developer and rarely dabble in the fine art of wri
slug = "image-zoom-with-plain-javascript-and-css"
+++
_Note: I've moved away from the solution outlined in this post. Mainly because I did not want
to write an entire gallery from scratch. I've since opted to use [lightgallery.js](https://sachinchoolur.github.io/lightgallery.js/)
which is a pure JS image gallery solution with some nice goodies._
The premise is simple. A post may contain images. These images are restricted in rendered size to
keep the flow of the page in tact. Clicking an image allows you to zoom in. Here's an example: