Update image zoom post
This commit is contained in:
parent
03e0a7af9a
commit
a524889db9
|
@ -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"
|
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
|
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:
|
keep the flow of the page in tact. Clicking an image allows you to zoom in. Here's an example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user