Skip to main content

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


Download files

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

Source Distribution

ely.portlets.image-0.2dev-r156.tar.gz (26.3 kB view details)

Uploaded Source

File details

Details for the file ely.portlets.image-0.2dev-r156.tar.gz.

File metadata

File hashes

Hashes for ely.portlets.image-0.2dev-r156.tar.gz
Algorithm Hash digest
SHA256 e0669ca7f992fdb3e19f82b5ec86755c886a2862919ea61b2089c04a9b9c2e2e
MD5 7765ca768eb4eab241b52648decdb028
BLAKE2b-256 1e7caa49e4671a46839a41e2068bd8dd070f5d1b9bc47892a5b1f8dd187fbee2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page