Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Unable to use ACS Commons Image Transformer at dispatcher

Avatar

Level 2

Hi,

We are trying to implement the ACS Commons Image Transformer in a few components.

Our URL looks something like:

/content/dam/project/Banner.jpg.transform/hero-banner-tall/image.png

 

In our author environment, we are able to see the image with the correct Content-Type: image/png.

 

However, on our dispatchers, we see the images with Content-Type: text/html and get a 404.

Any ideas will be appreciated.

 

Regards

Ruchi

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You need to allow a url for 'Banner.jpg.transform" because this is not allowed in dispatcher you have to allow this kind of expression.

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

You need to allow a url for 'Banner.jpg.transform" because this is not allowed in dispatcher you have to allow this kind of expression.

Avatar

Level 2
Thanks. Had to write a very precise rule in the filters to make this work.

Avatar

Employee

@ruchim71073425 have similar scenario where OOTB Image transform on image is working fine in Author but not Publish, can you share the dispatcher rule to make it work you have used?

Thanks;

Avatar

Level 2

In the filters file, something like this:

/0025 { /type "allow" /url "/content/dam/*transform*image.png" }