Hi there,
I am creating an email template inside Adobe Campaign Standard which has some images. I would like to personalize the URL of the the image in the src attribute. I have created a custom resource inside ACS which contains a list of movie names and their corresponding poster image URLs. I would like to have this poster image shown in the image element of my email page. I have tried enabling personalization in email designer page for my image element and tried including the poster image URL field from my custom resource in the personalization field but that doesn't seem to work. We do not intend to use Adobe Target.
Kindly help me get through this!
Thanks in advance.
Solved! Go to Solution.
Right so, what I'm saying is that the data contained within '/context/targetData/cusRPNA_TSMovieslink12/movieImageUrl ' should be 'wp-content/uploads/2017/01/godzilla.jpg' instead of "https://creativenerds.co.uk/wp-content/uploads/2017/01/godzilla.jpg"
Thanks,
Pulkit
You should be able to personalize the image URL's just like any other personalization element in the email. The only thing to keep in mind is that the URL domain will need to be hard-coded like so.
Note: You do not need Target for this. URI can be targetData from the workflow, or any other custom resource linked to profile.
Thanks,
Pulkit
Thanks for writing back Pulkit, but I'm still unable to get through the URL personalization. Here's some more detail on what it's like.
1. In the Email Designer, I drag-dropped an image element inside of a structure component. In its source, which is plain HTML with some custom attributes for ACS integration (such as data-nl-expr etc.), I can't find a way to paste the URL from my custom resource, the path of which looks like so - /context/targetData/cusRPNA_TSMovieslink12/movieImageUrl. Embedding it into the src attribute of the <img> tag doesn't work.
2. At the pane to the right, I tried enabling personalization, which provides a new attribute in the source of my image element which being data-nl-imgep-perso-attr-src. This attribute allows me to use the poster image URL from my custom resource by pasting down the path (/context/targetData/cusRPNA_TSMovieslink12/movieImageUrl). While this sounds convincing, the image still doesn't load in my mail as seen in the inbox.
The data contained within /context/targetData/cusRPNA_TSMovieslink12/movieImageUrl would look like this - https://creativenerds.co.uk/wp-content/uploads/2017/01/godzilla.jpg for instance.
Views
Replies
Total Likes
Right so, what I'm saying is that the data contained within '/context/targetData/cusRPNA_TSMovieslink12/movieImageUrl ' should be 'wp-content/uploads/2017/01/godzilla.jpg' instead of "https://creativenerds.co.uk/wp-content/uploads/2017/01/godzilla.jpg"
Thanks,
Pulkit
Great solution!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies