Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I enter profile picture without / with another link?

Julia Nolte - Explorer World of Travel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 15, 2023

I`m wanting to add the profile picture and name of the relevant contact person. When clicking onto their picture, an E-mail should automatically pop up in Outlook with a pre-selectedt subject.

I know how to do both separately, but cannot combine them. Even when adding a link (mailto:first.last@website.de?subject=XY), once updated I only get redirectedt to their profile again and there I can click on their Email address which will not have the wanted subject line...

I need to make sure that all Emails the person receives via Confluence have the same subject line

1 answer

0 votes
Frederik Vantroys
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 15, 2023

Hi @Julia Nolte - Explorer World of Travel 

I found this : might be of help for you :

 

  • Prepare the Profile Picture:
  • Add the relevant contact person's profile picture to Confluence. You can use the "Profile Picture" macro or simply insert an image on the Confluence page.
    Ensure that the image has a specific class or ID assigned to it. For example, you can add a CSS class like "contact-picture" to the image.
    Create the Link with Pre-selected Subject:
  • Wrap the profile picture with a link that will open the email in Outlook with the desired subject line.
  • Insert an HTML macro on the Confluence page and use the following HTML code as an example:

<a href="mailto:first.last@website.de?subject=Your%20Subject%20Here">
<img class="contact-picture" src="/path/to/profile_picture.png" alt="Contact Picture">
</a>

Replace "first.last@website.de" with the email address of the contact person, and "Your%20Subject%20Here" with the desired subject line URL-encoded (spaces replaced with %20).

  • Adjust the src attribute in the <img> tag to the actual path of the profile picture.
  • Apply CSS Styling (Optional):

If you want to style the profile picture, you can add CSS code to the Confluence page or use a custom CSS macro.
For example, you can target the "contact-picture" class and adjust properties like width, height, border, etc., to fit your desired style.
Save the Confluence page after applying the changes. Now, when users click on the profile picture, it should open their default email client (Outlook) with a new email window and the pre-selected subject line.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events