Image sizes reduced served by Target activity using Scene7

Description description

Environment

Adobe Target

Issue/Symptoms

When you use the swap image functionality in Target VEC, while creating an activity experience, the size of the image (used to swap the image) is reduced when the activity is delivered.

Cause
At the time of swap image, the height and width are calculated from the computedStyle of the website (style in displaying the element, after stylings from multiple sources have been applied).

There is no inbuilt product capability to remove those parameters.

Resolution resolution

Workarounds

  1. Instead of swapping the image, you can edit the source of the image, and place the scene7 URL by removing/updating these parameters.
  2. Another way to remove height and width is by editing the html on the parent of the swapped image.

Additional Question

Question: How do you fetch the Scene7 URL for each image?

Answer: You will get the Scene7 URL at the time of offer delivery, or you can fetch the activity definition from TNT (Target Classic).
There is no upfront way to get the Scene7 URL prior to activity save.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f