[MGNLSTK-1469] Use asset renderers from DAM Created: 09/Mar/15  Updated: 04/May/15  Resolved: 11/Mar/15

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 2.9

Type: Task Priority: Neutral
Reporter: Philip Mundt Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLSTK-1471 Adjust STK to work with new renderers... Closed
Relates
relates to MGNLDAM-553 RenditionAwareAssetProvider breaks de... Closed
dependency
depends upon MGNLDAM-554 Add asset renderer that knows about i... Closed
depends upon MGNLDAM-556 RenditionWrapper should extend new in... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: Extract STK functionality

 Description   

DAM core / imaging now brings in its own asset renderes which should be sued by STK.

Tasks:

Deprecate classes

  • info.magnolia.module.templatingkit.dam.RenditionAwareJcrAssetProvider
  • info.magnolia.module.templatingkit.dam.STKAssetRenderer

Restore original value of jcrRenderer in DAM configuration

  • /modules/dam/config/providers/jcrProvider

Adjust models info.magnolia.module.templatingkit.templates.components.ImageModel in STK to work with info.magnolia.dam.api.AssetRendition.



 Comments   
Comment by Christopher Zimmermann [ 10/Mar/15 ]

In ImageModel and InternalTeaserModel, you are passing the link into RenditionWrappers name (3rd) parameter:

asset = new RenditionWrapper(assetRendition.getAsset(), assetRendition.getLink(), assetRendition.getLink());
Generated at Mon Feb 12 07:36:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.