Grav – Media Lightbox

  • Post author:
  • Post category:Grav
  • Post comments:1 Comment
Lightbox

Description

Lightbox is similar to link action but the difference here is that it creates a link with some extra attributes. Adds a rel = “lightbox” and accepts a width and height attribute. Resize of the width and height of images is done by your request.

Example

![My New Image](my-new-image.jpg?lightbox = 600, 400&resize = 100, 100)

Output

The above code fetches you the following output −

Lightbox

Previous Page:-Click Here

This Post Has One Comment

Leave a Reply