Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Path to configuration page.
- Navigate to Administer > Site configuration > Dynamic display block in the admin menu.
Add, configure and enable a dynamic display block.
- Type a unique block title in the block title field of the Add dynamic display block fieldset at the bottom of the screen.
- Click the Add block button.
- Click the Configure block link in the "Dynamic display block" fieldset of the dynamic display block you just made.
- Set the image folder to images/ddblock
- Click Save Block at the bottom of the page.
- Make the folder images/ddblock relatitive the Drupal file path. The Drupal file path is set at Administer > Site configuration > File system
- Add some pictures in this folder.
- Navigate to Administer > Site Building > Blocks in the admin menu.
- Find your block in the Disabled section near the bottom of the page. Select a region (e.g. Right sidebar) in the drop down box next to your block. This will move the block you just created to this region.
- Click the Save Blocks button.
After these 10 steps you should see your added dynamic display block.
You can always adjust the settings at Administer > Site Configuration > Dynamic display block in the admin menu.
If you are not successful see: Images from an image folder are not displayed. in the FAQ.
Comments
Heads up
In step 5
If your files directory is in sites/default you must specify that. Change "/files/images/ddblock" to "sites/default/files/images/ddblock". In the "Image Folder" text field.
Also make sure you have "view dynamic display blocks" ticked so the block displays for anonymous user.
Other then that, this module is awesome. ;)
--------------------------------------------------
http://zugec.com/drupal
---
WebWash: Drupal Tutorials and Videos
very useful,thank you!
very useful,thank you!