A Django app for displaying a randomly selected image out of a set of django-filer images.
Project description
django-random-image is a simple django app for using an image randomly from a user-defined set of django-filer images in a django template. Every image is only active during a time range set for it.
Requires django-filer.
Quick start
Install with your favorite tool
Add 'random_image' to INSTALLED_APPS.
Migrate your database.
You can now add images in the admin under Random images.
Add {% load random_image %} to your template of choice and use {% random_image as image %} to load a randomly selected image into the image template variable.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.