Aspect switcher
| Project: | Imagecache Actions |
| Version: | 6.x-1.6 |
| Component: | Canvas Actions Module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi
Firstly great module. Can't live without it.
Having a problem with the Aspect Switcher ( I think ). I am trying to resize photos to 169 x 127px ( which is a standard 100x75 aspect ratio ), maintaining aspect ratio by clipping portrait photos. If the photo is a portrait type I want to present the centre portion of the photo i.e. clip off top and bottom borders to get the required aspect ratio.
I have created 2 presets: for landscape photos "more_photos_resize_landscape" and for portrait photos "more_photos_resize_portrait". Screenshots attached. When applied individually both presets do what I expect, and they also display a correct preview of the Drupal droplet image. However when applied via a third preset which is nothing more than an aspect switcher the result doesn't seem to be an application of either of the "sub" presets ( but rather the image ends up as 100 x 127 pixels ). This is also what shows as the preview of the Drupal droplet image on the Aspect Switcher preset.
Is it possible that my 100% in the Crop is being interpreted as 100px when applied via the Aspect Switcher or somesuch ?
Your assistance much appreciated.
Dave
| Attachment | Size |
|---|---|
| more_photos_resize.jpg | 42.8 KB |
| more_photos_resize_landscap.jpg | 44.64 KB |
| more_photos_resize_portrait.jpg | 48.89 KB |
| versions.jpg | 23.95 KB |

#1
I don't know the answer but I'm getting a similar problem. I'm new to the module though so maybe it's something I don't understand. Let me know if you find a solution please. Thanks.
#2
Having re-visted this problem I now realise that apply the settings for the "more_photos_resize_landscape" preset achieves the required effect when applied to both landscape AND portrait photos, thereby doing away with the need to implement the Aspect Switcher in a separate pre-processing preset. Although this solves my immediate problem it doesn't explain the behaviour of the Aspect Switcher in the example I give.
Cheers
Dave