Image Magazine
Category: Basic content types, Layout and presentation, Visual themes
—
Other products by this author
Current release: Image Magazine 1.0
Released Feb 26, 2007 — tested with Plone 2.5.2, Plone 2.5.1, Plone 2.5
first release
Experimental releases
There are no experimental releases available at the moment.
Project Description
- Project resources
it is inspired directly from this article :
http://alistapart.com/articles/magazinelayout
ImageMag content type acts both as a folder and as an image.
you populate it with 2 to 4 images, and optionnaly select a layout.
options include width, background color, padding and margin, and layout mode
ImageMag then merges the images into a layout while keeping the aspect ratios.
2 images
+-----------+-----------+
| | |
| Image 1 | Image 2 |
| | |
+-----------+-----------+
3 images
+-----------+-----------+
| | |
| Image 1 | |
| | |
+-----------+ Image 3 +
| | |
| Image 2 | |
| | |
+-----------+-----------+
4 images
mode 0
+-----------+-----------+
| | |
| Image 1 | |
| | |
+-----------+ +
| | |
| Image 2 | Image 4 |
| | |
+-----------+ |
| | |
| Image 3 | |
| | |
+-----------+-----------+
mode 1
+-----------+-----------+
| | |
| Image 1 | Image 3 |
| | |
+-----------+-----------+
| | |
| Image 2 | Image 4 |
| | |
+-----------+-----------+
You can then use and call your ImageMag as a standard ploneImage, this means you can :
- use instance/image_thumbnail, instance/image_large, and so on suffixes to call its different sizes
- call it directly from kupu to illustrate your articles (see readme.txt)
Contributor
Nicolas Laurance