Hi all! I’m trying to put a gallery in a blog page using Unitegallery plugin, but I can’t find a way to do this. My situation is even worsened by Gantry 5 plugin, which need this code:
but it doesn’t work, probably for the limitation of Gantry 5 template.
Moreover to put this in a page I need a sort of shortcode…
Can someone put me in the right direction?
Thanks in advance
THANKS A MILLION! It works like a charm
Now I need only a little improvement: captions for the photos.
If I use meta.yaml for every photo in the gallery folder can I have the captions?
Sorry…I’m a newbie with Grav… using your code I can see only the grey strip under the photo, but not the title…can you give me an example of how you add “Autumn”?
i read the documentation about meta.yaml files for the description, but I don’t know where to put the myimage.meta.yaml file
If you are using this method to add file-specific styling or meta tags for a single file, you will want to put the YAML file in the same folder as the referenced file.
According the README (what’s in a name?) of the UniteGallery plugin:
This generates an album where all pictures are displayed as thumbnails and the metadata alt_text [emphasis is mine] is displayed as text at the bottom of the thumbnail
Ok I found the problem: I used “Admin Addon Media Metadata” plugin to generate the meta.yaml files, but the alt text is displayed only if in the meta.yaml is: