Unable to use ACS Commons Image Transformer at dispatcher | Community
Skip to main content
ruchim71073425
Level 2
May 15, 2020 12:04 AM UTC
Solved

Unable to use ACS Commons Image Transformer at dispatcher

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ankur_Khare
Ankur_KhareAccepted solution
New Participant
May 15, 2020 2:17 AM UTC

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.

4 replies

ruchim71073425
Level 2
May 2, 2023 3:46 AM UTC

In the filters file, something like this:

/0025 { /type "allow" /url "/content/dam/*transform*image.png" }
Translate
Employee
Apr 24, 2023 7:33 AM UTC

@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;

Translate
Ankur_Khare
Ankur_KhareAccepted solution
New Participant
May 15, 2020 2:17 AM UTC

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.

Translate
ruchim71073425
Level 2
May 15, 2020 6:02 AM UTC
Thanks. Had to write a very precise rule in the filters to make this work.
Translate