Custom Quote Template Beta

JDavis48
Participant | Platinum Partner
Participant | Platinum Partner

Inserting sender avatar into quote template

If you preview the Standard:Original and Standard:Modern quote templates, they display the sender's avatar image. I'm trying to copy this for a custom proposal template I'm building, but cannot figure out what bit of code to use to call this variable. There must be something, like {{ template_data.quote.hs_sender_avatar }}, but I can't get it.

Anyone know what it is?

3 Replies 3
JDavis48
Participant | Platinum Partner
Participant | Platinum Partner

Inserting sender avatar into quote template

The official response when I spoke to their tech support was that no, there is no way to do it. I don't remember the explanation on how their own pre-built templates do it but not a hand-coded one. The suggestion was to create a series of IF statements that would look at the author's name and then call that person's picture manually:

 

{% if author=john %}

<img src="johnsphoto.jpg">

{% elif author=sally %}

<img src="sallyphoto.jpg">

{% elif author=billy %}

<img src="billyphoto.jpg">

And so on and so on. Not really a good solution if you have a lot of people in the acount or you need to add or remove names a lot.

0 Upvotes
dmytro
Participant

Inserting sender avatar into quote template

Hey JDavis48

Thanks for the replay. You're right, seems IF statements aren't the best solution

0 Upvotes
dmytro
Participant

Inserting sender avatar into quote template

I have the same question. Have you found the solution? 

0 Upvotes