Content settings

Path to dynamic display block settings page

  1. Navigate to Administer > Site configuration > Dynamic display block in the admin menu.
  2. Click the Configure block link for a specific block.


A dynamic display block can get content from an image folder or from a content type. The third option, from a block from another module, is described in Settings tab and Instances tab.

Note:All settings have default values. You only have to change the settings if you want other settings.

By default content is used from the image folder sites/default/files.
Please copy your images to this folder.

Input type

  1. Choose the input type for the dynamic display block.

Content from an image folder

  1. Type the name of the image folder in the "image folder" field.
  2. Copy images to this folder.
    • Your download method needs to be public, to make your files available using HTTP directly.
    • If your download method is set to private you need to use image cache presets for your images
    • The file path is case sensitive. If you have: DDblock for the folder and your filepath is: sites/default/files/ddblock it will not work. They need to have the same case.
    • Images looked for in the directory and sub-directories can only contain the letter: a - z and A-Z, the numbers: 0 - 9, underscores "_" and hyphens.
      The extension can be: jpe, jpeg, gif, png, JPE, JPEG, GIF, PNG
      When you want to add characters you need to add them to the mask in the ddblock.module file

      Original mask with characters mentioned above:
      $mask = '[a-zA-Z0-9\_\-\.]+\.(jpe?g|gif|png|JPE?G|GIF|PNG)$';
      when you want to add the characters [ and ] it becomes:
      $mask = '[a-zA-Z0-9\_\-\.\[\]]+\.(jpe?g|gif|png|JPE?G|GIF|PNG)$';

  3. Set the Number of images to show.

Content container

  1. Type a content container to show in the dynamic display block.
    • If content to show in the dynamic display block is not directly the child content of your node. (E.g. when images are placed in a <div class="images">). The content container should be: 'img' (without the quotes) to let the images cycle in your dynamic display block. Example:
       <div class="images">
        <img src="image1.png" />
        <img src="image2.png" />
    • If you want to show more content. For example images with text in your dynamic display block you can for example use the <div class="cycle-content"> tag to separate the content in the node. In this case the content container should be 'div.cycle-content' (without the quotes) to let the images with text cycle in your dynamic display block. Example:
      <div class="content">
       <div class="cycle-content">
         Example text 1
        <img src="image1.png" />
       <div class="cycle-content">
         Example text 2
       <img src="image2.png" />

      You can use any jQuery selector to select the elements to cycle.

  2. Set the height and width of the container.
  3. Set the height and width of the image if you have images in your content.

Image settings

  1. Set the height and width of the image if you have images in your content.

Imagecache preset settings

Information: For more information how the imagecache module works, see the imagecache module tutorial.

When you check the Use imagecache presets checkbox, you can use defined imagecache presets for the images you want to use in a slideshow.