Sometimes, you may be able to create the activity through VEC where you are adding a Link to the Image. However with the QA URL / content delivery, the link might not work.
This may be due to the fact that at.js polls all the selectors before loading the DOM elements and since this id of image is created on the run the next action of applying link on this id is not executed as the selector is not found.
In such scenarios, I would suggest making below changes to the activity where you are looking forward to edit the links of the image.
Edit the Activity
Click on the gear button and go to Site Preferences
Disable ‘Use Element IDs’ and Save it
Click on next and Save the activity
This should help to resolve the issue.