rtMedia Gallery Block

Add Gutenberg block

You can add this gutenbergĀ block from Widgets block section.

 

 

Block attributes

You can change gallery block attributes on right side by selecting the block.

 

  1. Enable or Disable Global using the switch provided. This determines if the gallery is globally visible or not.
  2. If Global is Enabled, choose the Context from which the gallery should be drawn. If Global is Disabled, this drop down does not appear. The context determines the WordPress, BuddyPress or bbPress context from which media or other items are displayed. If Default is chosen, items associated with the current context will be considered. Read more: Context in rtMedia.
  3. If Global is Enabled, choose the Context ID associated with the gallery. If Global is Disabled, this drop down does not appear. The Context ID uniquely identifies the context chosen in Step 2. Leave blank for default, which is the ID of the current context. To avoid confusion, ensure that either the default is chosen in both Step 2 and 3, or specific values are set in both.
  4. Choose the media type.
  5. Choose the album from which media or other files should be displayed using this shortcode.
  6. Specify the Favlist ID if you want to fetch associated media with it.
  7. Specify the Author ID associated with the gallery. Leave blank for default, which is the ID of the current author.
  8. Specify number of media to show per page.
  9. Specify position to show the uploader along with the gallery. Default is FALSE.
    1. before : uploader on top of gallery
    2. after : uploader at the end of gallery
    3. true : uploader at the end of gallery (alias for after)
  10. Keep Enable selected, if you want to open media in lighbox ( popup ).
  11. Choose Hide, if you want to hide medie file’s name which appears under the media in default gallery template.