[DOCU-551] Update Imaging module for 5.4 and fix imaging examples Created: 27/Jan/15  Updated: 02/Dec/15  Resolved: 02/Dec/15

Status: Closed
Project: Documentation
Component/s: content
Affects Version/s: short term
Fix Version/s: short term

Type: Bug Priority: Neutral
Reporter: Antti Hietala Assignee: Christoph Meier
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.5d
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Docu Sprint 4

 Description   


 Comments   
Comment by Ruth Stocks [ 30/Nov/15 ]

Draft document in holding area at https://documentation.magnolia-cms.com/display/DOCS/Imaging+module1. (still needs editing)

All points detailed in meeting of Oct 22 are done except:

Comment by Christoph Meier [ 02/Dec/15 ]

At the moment an operation chain with a watermark is not possible or it requires a custom TextStyleTransformer, see MGNLIMG-180
I have changed info.magnolia.imaging.parameters.BinaryNodePathParameterProviderFactory locally to make it work, however, as long as MGNLIMG_180 is not fixed, it doesn't make a lot of sense to show the example.

Generally i anyway think the example of an operation chain goes to far. The operation chain itself is not all ... one should also create kind of "supporting class" which creates the link for an image, etc. pp

I have added a follow-up-ticket to show the example later on: DOCU-648

I add my example to the page but will hide it for the moment - at least until MGNLIMG_180 is fixed.

The example is available as module on GIT

Comment by Christoph Meier [ 02/Dec/15 ]

The 2nd point mentioned above "Show how to load an image from DAM" ...
... Magnolia provides atm 2 loader classes to use in the load step of an operation chain:

  • info.magnolia.imaging.operations.load.FromBinaryNode ... to load from a binary node
  • info.magnolia.imaging.operations.load.ClasspathImageLoader ... to load from class path.

To load from DAM actually requires a new concrete class which extends info.magnolia.imaging.operations.load.AbstractLoader. Since a couple of things within this module are between "work in progress" and "outdated" ... i will NOT implement such a class at the moment.

Generated at Mon Feb 12 01:10:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.