Linking image to URL in signature plugin does not work

Hi everyone,

I’m trying to link an image in my signature on our self-hosted Discourse community, but I didn’t succeed to do so. You can check the following image for the result.

[[center][img]https://i.imgur.com/S2QKatV.gif[/img][/center]](https://domain.com/)

Can someone suggest to me how to make this work, please?

Thanks in advance!

Mixing markdown and BBCode is a recipe for sadness.

Try using

<a href="https://google.com">
  <img src="https://i.imgur.com/S2QKatV.gif">
</a>
4 Likes

Thanks and how can I center the image using this HTML?

<center>
  <a href="https://google.com">
    <img src="https://i.imgur.com/S2QKatV.gif">
  </a>
</center>

should do it.

2 Likes

I tried this, but it’s not center aligned I’m afraid :frowning:

try this:

<div align="center">
  <a href="https://google.com">
    <img src="https://i.imgur.com/S2QKatV.gif">
  </a>
</div>
3 Likes

Thanks a lot @Lilly, that worked!

@Falco – thanks for the help as well. :slight_smile:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.