Skip to main content
roberth55706517
Level 4
Oct 28, 2015 2:25 PM UTC
Solved

AEM not generating a valid image

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.
Aem-user1Accepted solution
Level 2
Oct 30, 2015 4:36 PM UTC

4 replies

edubey
Level 10
Oct 28, 2015 2:39 PM UTC

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 

Translate
roberth55706517
Level 4
Oct 28, 2015 2:43 PM UTC

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

Translate
roberth55706517
Level 4
Oct 29, 2015 1:30 PM UTC

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.

Translate
Aem-user1Accepted solution
Level 2
Oct 30, 2015 4:36 PM UTC