XF 1.4 How to call the "change avatar"-PopUp?

Arno Nühm

Active member
I would like to insert a link into a template for users to change their avatar.

If I just use /account/avatar as link destination it won't open the PopUp-window.

How do I call this link so that this window opens?

<a class="OverlayTrigger" href="account/avatar">Avatar</a>
... does not work.