{"id":621,"date":"2021-01-27T19:00:00","date_gmt":"2021-01-27T18:00:00","guid":{"rendered":"https:\/\/devowl.io\/?post_type=knowledge-base&#038;p=621"},"modified":"2023-08-28T10:47:54","modified_gmt":"2023-08-28T08:47:54","slug":"real-media-library-bildergalerien-aus-ordnern","status":"publish","type":"knowledge-base","link":"https:\/\/devowl.io\/de\/knowledge-base\/real-media-library-image-galleries-from-folders\/","title":{"rendered":"Dynamische Bildergalerien aus Ordnern erstellen"},"content":{"rendered":"<section class=\"l-section wpb_row height_medium\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Real Media Library allows you to create visual galleries on your website, which automatically and dynamically reads content from a folder. There are different ways to do this, depending on which page builder you use.<\/p>\n<h2>Dynamic Gallery with Gutenberg<\/h2>\n<p>If you use Gutenberg as your page builder, you can easily create a gallery with the <strong>Real Media Library Gallery<\/strong> block:<\/p>\n<\/div><\/div><div class=\"w-image us_custom_70facfb4 align_none\"><a ref=\"magnificPopup\" href=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/real-media-library-creates-galleries-from-folder-as-a-gutenberg-block.jpg\" aria-label=\"Real Media Library creates galleries from folder as a Gutenberg block\" class=\"w-image-h\"><img decoding=\"async\" width=\"616\" height=\"409\" src=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/real-media-library-creates-galleries-from-folder-as-a-gutenberg-block.jpg\" class=\"attachment-large size-large\" alt=\"Real Media Library creates galleries from folder as a Gutenberg block\" loading=\"lazy\" srcset=\"https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/real-media-library-creates-galleries-from-folder-as-a-gutenberg-block.jpg 616w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/real-media-library-creates-galleries-from-folder-as-a-gutenberg-block-326x216.jpg 326w, https:\/\/devowl.io\/wp-content\/uploads\/knowledge-base\/real-media-library-creates-galleries-from-folder-as-a-gutenberg-block-16x12.jpg 16w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/a><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2>Dynamic gallery with shortcode<\/h2>\n<p>If you are using still the <strong>Classic Editor<\/strong> or another page builder like Elementor or Divi, you can still create dynamic galleries from a folder with a <a href=\"https:\/\/codex.wordpress.org\/Shortcode_API\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress shortcode<\/a>:<\/p>\n<pre>[ folder-gallery fid=\"your-folder-id\" ]<\/pre>\n<p>You can find the ID of a folder (<code class=\"\" data-line=\"\">fid<\/code>) in your media library with the following steps:<\/p>\n<ol>\n<li>Select a folder<\/li>\n<li>Click the three-dots icon in the folder toolbar<\/li>\n<li>A dialog opens and in the bottom-right corner you can find a number which represents the folder ID<\/li>\n<\/ol>\n<p>In addition, the <code class=\"\" data-line=\"\">folder-gallery<\/code> shortcode accepts all gallery attributes like the <a href=\"https:\/\/codex.wordpress.org\/Gallery_Shortcode\" target=\"_blank\" rel=\"noopener\">standard WordPress gallery shortcode<\/a>.<\/p>\n<h2>Advanced galleries with compatible WordPress gallery plugins<\/h2>\n<p>The gallery provided by Real Media Library have very basic features like the standard WordPress gallery shortcode. If you are not satisfied with these options, you should definitely have a look at the following plugins which also allow you to create dynamic galleries from folders:<\/p>\n<ul>\n<li><a href=\"https:\/\/justifiedgrid.com\/sources\/wp-real-media-library\/\" target=\"_blank\" rel=\"noopener noreferrer\">Justified Image Grid<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/foogallery\/\" target=\"_blank\" rel=\"noopener noreferrer\">FooGallery<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/responsive-gallery-grid\/\" target=\"_blank\" rel=\"noopener\">Reponsive Gallery Grid<\/a><\/li>\n<li><a href=\"https:\/\/lcweb.it\/global-gallery\" target=\"_blank\" rel=\"noopener\">Global Gallery<\/a><\/li>\n<\/ul>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"template":"","topic":[31],"class_list":["post-621","knowledge-base","type-knowledge-base","status-publish","hentry","topic-common-issues-rml"],"acf":[],"_links":{"self":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base"}],"about":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/types\/knowledge-base"}],"version-history":[{"count":2,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/621\/revisions"}],"predecessor-version":[{"id":237739,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/knowledge-base\/621\/revisions\/237739"}],"wp:attachment":[{"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/media?parent=621"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/devowl.io\/de\/wp-json\/wp\/v2\/topic?post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}