Festinger
(Festinger )
June 12, 2023, 5:07pm
1
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!
Falco
(Falco)
June 12, 2023, 5:56pm
2
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>
Festinger
(Festinger )
June 12, 2023, 6:00pm
3
Thanks and how can I center the image using this HTML?
Falco
(Falco)
June 12, 2023, 7:26pm
4
<center>
<a href="https://google.com">
<img src="https://i.imgur.com/S2QKatV.gif">
</a>
</center>
should do it.
Festinger
(Festinger )
June 12, 2023, 7:29pm
5
I tried this, but it’s not center aligned I’m afraid
Lilly
June 12, 2023, 7:59pm
6
try this:
<div align="center">
<a href="https://google.com">
<img src="https://i.imgur.com/S2QKatV.gif">
</a>
</div>
Festinger
(Festinger )
June 12, 2023, 8:16pm
7
Thanks a lot @Lilly , that worked!
@Falco – thanks for the help as well.