Accessing renditions using selectors

Avatar

Avatar

alistairp781078

Avatar

alistairp781078

alistairp781078

13-03-2019

Hi, we are currently experiencing some rendition-related issues on our dispatchers as documented here: Dispatcher caching issue while displaying the image renditions in AEM

When accessing a rendition using a typical path (e.g. /content/dam/image.jpg/jcr:content/renditions/cq5dam.web.768.768.jpeg) before accessing the original image (e.g. /content/dam/image.jpg), the original image gets cached in the dispatcher as just a folder. It then can't be accessed on the dispatcher.

The suggested solution in the article is to use selectors to reference renditions (e.g. /content/dam/image.jpg.thumb.320.320.png). This works for renditions created using the Process Thumbnails step of the DAM Update Asset workflow. However, for renditions created using Create Web Enabled Image, I can't work out which selectors to use to reference the file. As an example, I've tried /content/dam/image.jpg.web.768.768.jpeg but this doesn't work.

Is it possible to use selectors to reference web enabled renditions?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

13-03-2019

I believe you need to you thumb selector with appropriate resolution

e.g.

http://localhost:4502/content/dam/AEM63App/asset.jpg.thumb.1280.1280.png

or in your case

/content/dam/image.jpg.thumb.768.768.jpeg

Answers (0)