Image are not rendering properly when HTMLs are imported/loaded to AJO | Community
Skip to main content
Level 2
October 9, 2024
Solved

Image are not rendering properly when HTMLs are imported/loaded to AJO

  • October 9, 2024
  • 3 replies
  • 2650 views

Hello All, 

 

Have any of you guys noticed that the images are not rendering  properly when HTMLs are imported/loaded to AJO?

 

What I usually do is when adding emails to a Campaign or a Journey I load the zip file (the zip file includes the .html file and image folder). Then I am directed to choose the destination/folder in Experience Manager Assets. Once chosen the destination folder I can import the zip, then the email will be loaded to AJO Email designer. Lately I have noticed some images are not rendering properly, only the place holders/ thumbnails are visible. In some cases when I clicked Simulate Content, the images which did not render properly rendered fine. Anyhow when I sent the actual proof, all the images were available, which was a happy ending! Even it bothers me a bit not being able to see some of the images rendering properly in AJO, I did not mind it very much since everything was perfect after sending the proof. But today when I loaded the html, not a single image rendered and after sending a proof to test it, I figured even the proof did not show a single image; only the white spaces where the images should have been! 

Of course I can always manually add the images and it works fine. But wanted to know whether anyone came across the issues I described, and if so did you find a solution?

Please let me know. Thanks a bunch, Zoe 

 

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

Hello All, @filipefreitas @pedroleme @riballor @satheeskannak Adobe product team has deployed the fix for this issue. Images should now be displayed when uploaded as zip. Please check, thanks, Zoe

3 replies

SatheeskannaK
Community Advisor
Community Advisor
October 10, 2024

@zoeag There could be a couple of reasons this would happen. Either the asset has been moved to a different location or check your assets essential access. I have noticed when you don't have assets essential access images won't load in the email designer.

Thanks, Sathees
ZoeAGAuthor
Level 2
October 10, 2024

Hey @satheeskannak , thanks for the comment, but the assets are available but let me check with the assets essential access. Thanks!

 

riballor
Level 3
October 14, 2024

Hi @zoeag @satheeskannak We are also having the same issue, seems that the "data-medialibrary-id" and "data-mediarepo-id" tags are being generated inside the "src" tag

Adobe is investigating the issue still. 

See below example - Blue box how it should be configured - Red box how its being configured atm

 

Current workaround is to add the images manually by selecting those from the folder inside Asset Essential

Also my advice if you add assets manually is that your HTML has all alt-text tags so its easier to add the images correctly

 

 

Level 3
October 18, 2024

Hi Zoe!

 

Let me share with you that I am facing the same issue here, and as riballor mentioned, the issue is with the data-medialibrary-id and data-mediarepo-id tags. I admit I manually edited one HTMLs, and yeah, that's time consuming and not scalable (although it worked).

 

Our team here decided to host the images on a S3 bucket and edit the HTML source-codes before uploading them into Adobe Journey Optimizer. We will continue with this approach until the upload feature is fixed.

 

Best regards

Filipe C. Freitas

PedroLeme
October 21, 2024

Hello @filipefreitas, all,

 

I'm also facing the same issue and I'd like to share a way I've found to get around it.

 

Usually, I import the HTML into the editor and after the conversion, considering that the assets are already in the AEM Assets folder, I open the HTML editing mode of the email content, copy all the code and with a code editor, find and replace all the 'src="urn"' to 'data-medialibrary-id="urn' and '|a' to '" data-mediarepo-id="a'.

 

You can see that the same quantity found in "ctrl+h" for the first element will also be found on the second element.

 

Once this is done, I just replace the entire new code over the previous one in the AJO builder.

 

Best regards,
Pedro Paes Leme

Level 3
October 22, 2024

Hi, Pedro!!

 

Definetely, a good approach! Thanks for sharing! Highly appreicated.

 

All the best!

Filipe C. Freitas 

ZoeAGAuthorAccepted solution
Level 2
October 23, 2024

Hello All, @filipefreitas @pedroleme @riballor @satheeskannak Adobe product team has deployed the fix for this issue. Images should now be displayed when uploaded as zip. Please check, thanks, Zoe

Sukrity_Wadhwa
Community Manager
Community Manager
October 29, 2024

Thanks @zoeag for sharing that update with the Community! 🙂

Sukrity Wadhwa