imagegallery.rst 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Image Gallery Block
  2. ===================
  3. Creates and displays a collage of images from a collection.
  4. Each image in the **Image gallery** is a link that will open a larger version of the image.
  5. Example:
  6. .. figure:: images/image_gal_example.jpeg
  7. :alt: A web page with an image gallery block.
  8. A web page with an image gallery block.
  9. Field Reference
  10. ---------------
  11. Fields and purposes:
  12. * **Collection** - Choose the image collection to display as a Gallery
  13. The default collection is ``ROOT`` which will choose all of the images on the site. You can, however, create custom
  14. image collections.
  15. How To Create A Collection
  16. --------------------------
  17. 1. Go to **Settings > Collections**.
  18. 2. Click the **Add a Collection** button on the top right-hand corner.
  19. 3. Name the collection and click create. (This one is called "Pixabay Images")
  20. .. figure:: images/image_gal_add_collection.jpeg
  21. 4. Go to **Images** and click on each image that you want to add to the collection. (We chose all the images we used from `Pixabay <https://pixabay.com/>`_ in the tutorial)
  22. .. figure:: images/image_gal_selected.jpeg
  23. 5. Choose **Add to collection** at the bottom of the browser window. This will redirect you to another page.
  24. 6. Choose the collection.
  25. .. figure:: images/image_gal_choose_collection.jpeg
  26. 7. Select **Yes, add**.
  27. Once you have created a Collection, it will become available in the Image Gallery block.
  28. .. figure:: images/image_gal_block.jpeg
  29. :alt: Our collection choice for the image gallery block
  30. Our collection choice for the image gallery block
  31. The images will display in a row. When the image is clicked on, it will become a popup image for better viewing.
  32. .. figure:: images/image_gal_preview.jpeg
  33. :alt: Our published image gallery
  34. Our published image gallery
  35. Now you can click on any of the images and it will bring up a large version.
  36. .. figure:: images/image_gal_user_selected.jpeg