3

I want to reduce the weight of a binary Image Component when I publish it.

I've found a TBB called "Image Resizer" which resizes the binary Image based on a certain input parameters (Width, Height, Percentage and ItemName), but I don't need this. I need another way to reduce the weight of this Component. Is it possible?

I've been thinking about compressing the content of the Component but I do not think that works.

[EDIT 1]

My application doesn't uses DXA or DD4T TBBs in CM.

9
  • Is that your application uses DXA or DD4T TBBs in CM?
    – Velmurugan
    Jan 22, 2018 at 13:19
  • I have edit my question to add this information. Jan 22, 2018 at 13:20
  • It's possible, then you need to write your own C# Assembly to compress the output. by default, this functionality comes with DXA and DD4T Templates you can configure the template to compress the output of the page/component, it will be decompressed in presentation side.
    – Velmurugan
    Jan 22, 2018 at 13:31
  • I understand you are talking about compressing the content of the binary Component and put it into the package with the new content and remove the original Component, right? Jan 22, 2018 at 13:36
  • 2
    Can you edit your question and provide some more background/details as to why you need to reduce the weight of binaries while you publish? Because based on that information you could get different answers. Jan 22, 2018 at 13:44

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.