Issue Details (XML | Word | Printable)

Key: MGNLIMG-5
Type: Task Task
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Grégory Joseph
Reporter: Grégory Joseph
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Magnolia Imaging Module

Implement a SaveHandler that does the actual image resizing

Created: 25/May/07 02:39 PM   Updated: 30/Apr/09 07:47 PM
Component/s: controls, dialogs
Affects Version/s: None
Fix Version/s: 1.0

Time Tracking:
Not Specified

Issue Links:
dependency
 

Labels:
Resolution Date: 30/Apr/09 07:47 PM


 Description  « Hide
"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)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Grégory Joseph added a comment - 30/May/07 09:18 PM
for 3.0 compatibility, we're providing a DialogHandler (extends ParagraphEditDialog)
for 3.1, we will potentially introduce a postSave() mechanism on the SaveHandler

Grégory Joseph added a comment - 01/Jun/07 07:21 PM
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.

Grégory Joseph added a comment - 04/Jun/07 07:41 PM
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)

Grégory Joseph added a comment - 26/Aug/08 02:12 PM
Using MAGNOLIA-2272 is probably the best way for now

Grégory Joseph added a comment - 30/Apr/09 07:47 PM
Closing this issue for now. We're doing major refactoring of the module. Followup MGNLIMG-33 if you're interested.