+{% for asset in page.assets -%}
+ {%- if asset is matching("[.](jpg|png)$") -%}
+ {% set image = resize_image(path=asset, width=240, height=180) %}
+
+
-
- {% endif %}
-{% endfor %}
+ {%- endif %}
+{%- endfor %}
+
```
As you can notice, we didn't specify an `op` argument, which means that it'll default to `"fill"`. Similarly,
diff --git a/docs/templates/shortcodes/gallery.html b/docs/templates/shortcodes/gallery.html
index 91a75f48..d171d849 100644
--- a/docs/templates/shortcodes/gallery.html
+++ b/docs/templates/shortcodes/gallery.html
@@ -1,7 +1,10 @@
+