Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Upload GIF image into dam programmatically AEM

Level 2
Level 2


I'm trying to upload external gif image programmatically using api but it is not working as expected. i'm able to upload external jpg and png images.

example : Fat Cat Success GIF - Find & Share on GIPHY

For above gif content type is html not gif  is that is the issue?.

Can anyone help me with this, please?



3 Replies
Community Advisor
Community Advisor


For me below code is working for jpeg and gif.

aem63app-repo/ at master · arunpatidar02/aem63app-repo · GitHub

I am succesfully able to upload gif and used in page as well.

for image you've share is video, not an gif. You can try Busy Chis Sweet Home GIF - Find & Share on GIPHY

Screen Shot 2018-08-07 at 2.52.35 PM.png


Level 9
Level 9


Can you tell us what is not working as per your expectation? Does post request not go through? Any error log you see in the response?