[MGNLIMG-5] Implement a SaveHandler that does the actual image resizing Created: 25/May/07  Updated: 25/Feb/14  Resolved: 30/Apr/09

Status: Closed
Project: Imaging
Component/s: controls, dialogs
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLIMG-12 Target size should be configured at c... Closed
is depended upon by MGNLIMG-25 Remove crop/preview when removing fil... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

"target" size should be configurable: for example, if we want to create thumbnails, we might want the users to be able to select ANY square area in the image, but the selected zone should be resized to 100x100px.

Output format/quality should also be configurable.

One of the goals to keep in mind is that one single original image could be resized in multiple different sizes (thumbnail, small, medium, original, ... see flickr or zenphoto for instance)



 Comments   
Comment by Magnolia International [ 30/May/07 ]

for 3.0 compatibility, we're providing a DialogHandler (extends ParagraphEditDialog)
for 3.1, we will potentially introduce a postSave() mechanism on the SaveHandler

Comment by Magnolia International [ 01/Jun/07 ]

Using the DialogHandler, the targetWidth/targetHeight parameters have to be defined at dialog, because I don't see a clean way of getting back to the control holding the rest of the configuration. If we introduce a postSave mechanism in 3.1, it should somehow get a map of control config nodes / saveInfo to be able to set the target size at control level.

Comment by Magnolia International [ 04/Jun/07 ]

MGNLIMG-12 was fixed: ImageCropperControl now exposes its config node. We get hold of the dialog and loop on all its subs - we get the config node of each instance of ImageCropperControl that's encountered and loop over them to process images. (ie multiple croppers in one dialog should be supported)

Comment by Magnolia International [ 26/Aug/08 ]

Using MAGNOLIA-2272 is probably the best way for now

Comment by Magnolia International [ 30/Apr/09 ]

Closing this issue for now. We're doing major refactoring of the module. Followup MGNLIMG-33 if you're interested.

Generated at Mon Feb 12 02:11:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.