Grav - Media Lightbox


Advertisements

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 −

Grav Media
grav_media.htm
Advertisements