Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Provides components which display a random image contained in the article.

Project Description


Provides components which display a random image contained in the article.

The following features for raptus.article are provided by this package:


  • Random image (Random image displayed over the whole width)
  • Random image left (Random image displayed on the left side)
  • Random image right (Random image displayed on the right side)
  • Random image teaser (Random image displayed over the whole width and displayed above the columns)


  • raptus.article.images


To install raptus.article.randomimage into your Plone instance, locate the file buildout.cfg in the root of your Plone instance directory on the file system, and open it in a text editor.

Add the actual raptus.article.randomimage add-on to the “eggs” section of buildout.cfg. Look for the section that looks like this:

eggs =

This section might have additional lines if you have other add-ons already installed. Just add the raptus.article.randomimage on a separate line, like this:

eggs =

Note that you have to run buildout like this:

$ bin/buildout

Then go to the “Add-ons” control panel in Plone as an administrator, and install or reinstall the “raptus.article.default” product.

Note that if you do not use the raptus.article.default package you have to include the zcml of raptus.article.randomimage either by adding it to the zcml list in your buildout or by including it in another package’s configure.zcml.



Navigate to the “Components” tab of your article and select one of the random image components and press “save and view”. Note that at least one image has to be contained in the article in which this component is active.

Developer Manual

Note: You find a developer manual for raptus.article at raptus.article.core. Please have look there if you need more information.

Code overview



  • raptus.article.randomimage.full
  • raptus.article.randomimage.right
  • raptus.article.randomimage.left


  • raptus.article.randomimage.teaser



  • IRandomImage (Provider for a random image)
    • getImage - method (Returns a random image (catalog brain))


2.0b5 (2010-11-10)

  • Added French translations

2.0b4 (2010-10-24)

  • Set zip_safe flag to False

2.0b3 (2010-10-21)

  • Updated readme and manual

2.0b2 (2010-10-20)

  • First public release

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(17.2 kB) Copy SHA256 Hash SHA256
Source None Nov 10, 2010

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate