Materialize MaterialBox
Display images as Materialize Material boxes.
by AJ Tamayo · github.com/ajatamayo/materialize-materialbox · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ajatamayo/materialize-materialbox/archive/refs/heads/master.zipFrom the readme
materialize-materialbox
Wordpress Plugin: Display images as Materialize Material boxes.
Material box is a material design implementation of the Lightbox plugin. When a user clicks on an image that can be enlarged, Material box centers the image and enlarges it in a smooth, non-jarring manner. To dismiss the image, the user can either click on the image again, scroll away, or press the ESC key.
http://next.materializecss.com/media.html
how this works
When an image is inserted via the edit pane of a post, the materialboxed class is added to the img tag. Thus, this only works on newly added images.