AEM 6.4 asset renditions, is it safe to remove 140x100 rendition?

Avatar

Avatar
Validate 1
Level 2
yaraslaud208334
Level 2

Likes

2 likes

Total Posts

28 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 3
Affirm 1
View profile

Avatar
Validate 1
Level 2
yaraslaud208334
Level 2

Likes

2 likes

Total Posts

28 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 3
Affirm 1
View profile
yaraslaud208334
Level 2

10-04-2019

By default DAM Update Asset  generate the following structure of renditions:

1730233_pastedImage_0.png

I have verified our request log, where I could see all renditions except 140x100 are used on authoring instance.

Is it safe to remove 140x100 rendition? Is it used by default AEM components? Is it safe to remove that rendition if we use only Touch UI?

Replies

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

247 posts

Correct reply

76 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

247 posts

Correct reply

76 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
MVP

10-04-2019

Hi,

Image renditions can be modified as per project need but the rendition 100*140 will be default for content finder thumbnail

The out of the box default image content finder has two views. Namely,

  • Masaic View:-  Uses the rendition 100*140
  • List View:-  Uses 48*48 rendition

The code is available in below file

/libs/cq/ui/widgets/source/widgets/wcm/ContentFinderTab.js

{code}

CQ.wcm.ContentFinderTab.THUMBS_URL = function(values, width, height) {

    width = (width ? width : 100);

    height = (height ? height : 140);

   

    //update thumbnail reference for sets

    if(values.mimeType.indexOf('Multipart/Related') == 0) {

values.path += '.folderthumbnail.jpg';

    }

   

    // encode path not in externalize - otherwise "#" in asset name or path is not encoded

    var externalized = CQ.HTTP.externalize(CQ.shared.XSS.getXSSValue(

            CQ.HTTP.encodePath(values.path)));

    externalized += ".thumb." + width + "." + height + (values.ck ? "." + values.ck : "")

            + ".png";

    return CQ.shared.HTTP.getXhrHookedURL(externalized);

};

{code}

Avatar

Avatar
Validate 1
Level 2
yaraslaud208334
Level 2

Likes

2 likes

Total Posts

28 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 3
Affirm 1
View profile

Avatar
Validate 1
Level 2
yaraslaud208334
Level 2

Likes

2 likes

Total Posts

28 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 3
Affirm 1
View profile
yaraslaud208334
Level 2

11-04-2019

Hello Vari,

As far as I know code provided by you is extJS code that is used only by classic UI.

As I could see 319x319 rendition is used in content finder for Touch UI:

1730800_pastedImage_0.png

--Yaraslau