A portlet for attaching and linking a single image
Project description
Introduction
A portlet for attaching and linking a single image in plone 3
This is quite basic at present. There are some things to know:
The image is stored as an OFS.Image.Image in the portlet assignment data - this is so we get access to get method that produces useful headers for caching, and gives us some useful parameters for creating a tag. However, since portlet Assignments do not provide enough context to be Locatable in the zope sense, then we need to generate our own tag based on an assignment path saved when the portlet was added. Since portlet assignments can’t be moved, then this is ok. It’s all transparent to you if you are simply interested in using this.
Changelog
0.1 - Unreleased
Initial release
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.
Source Distribution
File details
Details for the file ely.portlets.image-0.5.tar.gz
.
File metadata
- Download URL: ely.portlets.image-0.5.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 514166e2bc32bc04e225dd31d9038d30aa12ea5ce3713c6bca2a309aa045adfd |
|
MD5 | e7756eeefd00879515973bfe2b6f1c65 |
|
BLAKE2b-256 | c44809bcde9fc90d084d10a7fa11700d84da8042149a55b502346189e5779cfe |