Below I’ve got the following code working. it outputs the image and then the title of the parent entry via playa.
<article id="content">
{exp:channel:entries channel="clients" limit="500" disable="member_data|pagination|comments|categories"}
{client-logo}
{exp:playa:parents channel="testimonial"}
{title}
{/exp:playa:parents}
{/exp:channel:entries}
</article>What I want to do is wrap the image tag abouve with a tags that return to the parent entries single page, but only if that relationship exists i.e.
<a href="/clients/testimonials/{url_title}">{client-logo}</a>Not sure how to do that and would really appreciate advice.