The picture plugin¶
New in version 0.9.0: The picture plugin provides a simple structured way to add images to the page content.
Pictures are outputted in a <figure>
element and can optionally have a <figcaption>
:
Installation¶
Add the following settings to settings.py
:
INSTALLED_APPS += (
'fluent_contents.plugins.picture',
)
The plugin does not provide additional configuration options.
Using improved models fields¶
By default, the standard Django ImageField
and URLField
are used.
By including django-any-imagefield and django-any-urlfield in the project, this application will use those fields instead.
See the optional integration with other packages chapter to enable these features.