This Module displays a random image from a chosen directory.
Random Image module inside a content page (like below):
- Create a "Random Image" module, named e.g. Random Image - in Content
- Set the module position to random-image-in-content (just type it in)
- Set the module suffix to _content
- In the article, insert the following code in curly brackets: loadposition random-image-in-content
- Set the image folder in the module
- The image is automatically sized by the stylesheet to take up the width of the content area, so do not use images less than 585px wide!
- Result is visible below
Random Image module in a side column:
- Create a "Random Image" module
- Set the module position to left or right
- No module suffix
- Set the image folder in the module
- The image is automatically sized to take up the width of the content area, so do not use images less than 235px wide!
- Result is visible on the right
Random Image module inside an article:
