AEM not generating a valid image | Community
Skip to main content
roberth55706517
October 28, 2015
Solved

AEM not generating a valid image

  • October 28, 2015
  • 4 replies
  • 2040 views

I have taken over someone else's work and they have a curl command that is supposed to perform some sharpening and enhancement of an image and create a new image. When the command executes in the DAM, the error log shows a exception about an invalid image anchor. the command is as follows:

http://localhost:4502/is/image/content/dam/projects/W_20150909_01/H_1563M-R_1_NoTxt.jpg?wid=500&hei=500&fmt=jpeg,rgb&qlt=100,0&resmode=sharp2&op_usm=1,1,3,0&printres=72 -o /tmp/content/dam/projects/W_20150909_01/H_1563M-R_1_1563M-R_Extra1U_SmallU.jpg

The resulting file is actually the text "Unable to find image file."

It looks to me like the local AEM doesn't support the /is/image portion. Is there something analogous in AEM?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

edubey
October 28, 2015

just a small questions, did this command ever worked successfully ?

in AEM DAM url starts with http//[host]:[port]/content/dam, did you tried without using " /is/image" as in aem we dont have this 

roberth55706517
October 28, 2015

It finds the image but doesn't process it if I strip the /is/image portion out. I just get the raw image back.

I do have dynamic media enabled. I'm not sure if it every worked. The original developer seems to feel that it did.

FWIW, they are on AEM version 6.1

roberth55706517
October 29, 2015

I didn't realize I needed a publish and dynamic media instance running. I've gotten the publish instance up so it partially works. Now I need the client to open the firewall for me to get to the dynamic media instance.

Aem-user1Accepted solution
October 30, 2015