Festinger
(Festinger )
12 Junio, 2023 17:07
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)
12 Junio, 2023 17:56
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>
4 Me gusta
Festinger
(Festinger )
12 Junio, 2023 18:00
3
Thanks and how can I center the image using this HTML?
Falco
(Falco)
12 Junio, 2023 19:26
4
<center>
<a href="https://google.com">
<img src="https://i.imgur.com/S2QKatV.gif">
</a>
</center>
should do it.
2 Me gusta
Festinger
(Festinger )
12 Junio, 2023 19:29
5
I tried this, but it’s not center aligned I’m afraid
Lilly
(Lillian Louis)
12 Junio, 2023 19:59
6
try this:
<div align="center">
<a href="https://google.com">
<img src="https://i.imgur.com/S2QKatV.gif">
</a>
</div>
3 Me gusta
Festinger
(Festinger )
12 Junio, 2023 20:16
7
Thanks a lot @Lilly , that worked!
@Falco – thanks for the help as well.
2 Me gusta
system
(system)
Cerrado
12 Julio, 2023 20:16
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.