Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

image transformations in plone 4.1

on

  • 1,412 views

ideas how to integrate cropping and other image transformations into plone.app.imaging

ideas how to integrate cropping and other image transformations into plone.app.imaging

Statistics

Views

Total Views
1,412
Views on SlideShare
1,411
Embed Views
1

Actions

Likes
0
Downloads
3
Comments
1

1 Embed 1

http://htmledit.squarefree.com 1

Accessibility

Upload Details

Uploaded via as OpenOffice

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • note thtat image cropping has been implemented in https://github.com/collective/plone.app.imagecropping/
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

image transformations in plone 4.1 image transformations in plone 4.1 Presentation Transcript

  • Image transformations in plone 4.1
  • plone.app.imaging
    • blob support
    • user configurable scales (controlpanel, GS)
  • cropped images?
    • fixed aspect ratio
    • useful eg for carousels
    • no photoshop needed
  • packages
    • Products.croppingimage
      • simple crop solution
    • collective.croppingimagefield
      • can crop, zoom and scale
    • collective.imagefieldng
      • transform chains possible (eg thumb_sepia_crop)
    • Products.RichImage
      • clipping can be customized
    • ...
  • drawbacks
    • Limited support for
      • Blobs
      • plone.app.imaging scales
  • enter clippingimage
    • archetypes.clippingimage on pypi
    • defines a ClippingImageField
    • AND has a patch for Archetypes.field.ImageField scale method
    <monkey:patch description=&quot;Add support for cropping &quot; class=&quot;Products.Archetypes.Field.ImageField&quot; original=&quot;scale&quot; replacement=&quot;.utils.scale&quot; />
  • monkeypatch?
    • archetypes.clippingimage on pypi
    • defines a ClippingImageField
    • AND has a patch for Archetypes.field.ImageField scale method
    <monkey:patch description=&quot;Add support for cropping &quot; class=&quot;Products.Archetypes.Field.ImageField&quot; original=&quot;scale&quot; replacement=&quot;.utils.scale&quot; />
  • taking it further
    • do it right: Plip 10174
    • register Transforms (crop, grayscale, …) as named Adapters
    • hook up scale names with dimensions and transform chains
    name size filters preview 200,200 preview_gray 200,200 grayscale listing 30,30 crop, sepia
  • sounds great? - hands on!
    • bring in your ideas
    • openspace session tomorrow?
    • (remote)sprint?
    • badly need this for your project?
    • interested?
      • harald (at) webmeisterei.com