diff --git a/README.md b/README.md index 3f70a7f3..c84b5680 100644 --- a/README.md +++ b/README.md @@ -479,10 +479,10 @@ The `paige/gallery` shortcode provides a figure with a collection of images. ``` {{< paige/gallery align="center" - caption="My caption" height="10rem" images="*.jpg" justify="center" + maxheight="10rem" maxwidth="10rem" method="resize" options="550x webp picture Lanczos" @@ -491,62 +491,39 @@ The `paige/gallery` shortcode provides a figure with a collection of images. />}} {{< paige/gallery >}} - {{< paige/gallery - caption="My caption" - height="10rem" - image="me.jpg" - maxwidth="10rem" - method="resize" - options="550x webp picture Lanczos" - raw=false - width="10rem" - />}} - {{< paige/gallery - caption="My caption" - height="10rem" - image="you.jpg" - maxwidth="10rem" - method="resize" - options="550x webp picture Lanczos" - raw=false - width="10rem" - />}} +{{< paige/image src="1.jpg" >}} +{{< paige/image src="2.jpg" >}} +{{< paige/image src="3.jpg" >}} {{< /paige/gallery >}} ``` -Inner content: Optional. String. HTML. Must be other uses of this shortcode. +Inner content: Optional. String. HTML. Parameters:
align
baseline
, center
, end
, start
, or stretch
. Must not be used when nested.caption
height
image
images
justify
around
, between
, center
, end
, evenly
, or start
. Must not be used when nested.maxheight
maxwidth
method
crop
, fill
, fit
, or resize
. Default is resize
. See the methods.options
550x webp picture Lanczos
. See the options.raw
false
.type
grid
or list
. Default is list
.width