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