[MGNLIMG-178] option to apply image variation for images in CKeditor Created: 25/Nov/15  Updated: 19/May/22  Resolved: 19/May/22

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

Type: Improvement Priority: Neutral
Reporter: Tomáš Gregovský Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

When working with images in CKeditor, there is option to set width-height of image, but this will only apply "style" parameter to image. If an editor who don't care about resizing images will upload 10MB picture, same picture is going to be loaded. Currently there is no way to apply renderer (image variation for this).

Image itself is stored in jcr in text in format like this:

<p><img alt="" src="${link:{uuid:{cfa6f2ee-5de2-4088-ae5f-22a6c27c0126},repository:{corpblogs},path:{/jan-haderka/20--life-changing-tweaks-for-magnolia-editors-and-developers/images0/photo},nodeData:{},extension:{png}}}" style="height:1850px; width:3264px" /></p>

will be nice to have function to apply image variation (renderer) to this image(s).

something like:

imgfn.rendererForImagesInText(content.body,"thumbnail")


 Comments   
Comment by Roman Kovařík [ 19/May/22 ]

Hello,

This ticket is now marked as closed due to one of the following reasons:

  • A long period of inactivity
  • Uses an old or Beta version of an application, module, or framework that we no longer support
  • The issue is no longer reproducible or has been fixed in later versions

If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you.

Thank you,
The Magnolia Team

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