cmsplugin-blog-images
An extension for cmsplugin-blog which adds images to blog entries. This extension relies on django-filer.
Installation
You need to install the following prerequisites in order to use this app:
pip install Django pip install django-cms pip install cmsplugin-blog pip install django-filer pip install simple-translation
If you want to install the latest stable release from PyPi:
$ pip install cmsplugin-blog-images
If you feel adventurous and want to install the latest commit from GitHub:
$ pip install -e git://github.com/bitmazk/cmsplugin-blog-images.git#egg=cmsplugin_blog_images
Add cmsplugin_blog_images to your INSTALLED_APPS:
INSTALLED_APPS = (
...,
'cmsplugin_blog_images',
)
Usage
Just go to the Entry admin and you will see an inline admin to add images.
Templatetag: get_entry_images
In order to iterate over your blog entry’s images, use the get_entry_images tag:
{% load cmsplugin_blog_images_tags %}
{% get_entry_images entry as entry_images %}
{% for image in entry_images %}
<img src="{{ image.image.url" />
{% endfor %}
Contribute
If you want to contribute to this project, please perform the following steps:
# Fork this repository # Clone your fork $ mkvirtualenv -p python2.7 cmsplugin-blog-images $ pip install -r requirements.txt $ ./logger/tests/runtests.sh # You should get no failing tests $ git co -b feature_branch master # Implement your feature and tests # Describe your change in the CHANGELOG.txt $ git add . && git commit $ git push origin feature_branch # Send us a pull request for your feature branch
Whenever you run the tests a coverage output will be generated in tests/coverage/index.html. When adding new features, please make sure that you keep the coverage at 100%.
Roadmap
Check the issue tracker on github for milestones and features to come.
Metadata
Release files for cmsplugin-blog-images 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cmsplugin-blog-images-0.1.tar.gz | 7.8 kB | Without provenance | Details for cmsplugin-blog-images-0.1.tar.gz |
Release files / cmsplugin-blog-images-0.1.tar.gz
| Download URL | cmsplugin-blog-images-0.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66f425758232e72305112218b5d35419fa60f704c8dcabb2a679d89d1ca3eeaf
|
|
BLAKE2b-256 checksum How to use checksums |
2cc9c690b6985e19797942240b4bae58fca59dd437ca4d8176f98c91dc1002fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cmsplugin-blog-images 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.