WPCubed Product Support

RTF to HTML how to create an HyperLink on an Image

Hi,

I would like to be able to add a link to an Image so that when clicked it will take to me to a Website. The original Document is in RTF and is being converted to HTML using wpRichText to be sent as an Email.

So i would like to know how to add links to images.

Also, how can I add an hyperlink to a MergedField.

Thanks in advance
Rudy

#1 ♥ 0
4.2k Views 2 users read 1 min
support

Hello,

Like text also images can be surrounded by hyperlink objects.

<a href="..."> ... <img> </a>

Julian

#2 ♥ 0

Hi Julian,

Can this be done on the rtf side which will then be automatically transfered to the HTML

Thanks
Rudy

#3 ♥ 0
support

Hi,

In RTF this is possible, too.

But I assume you mean the editor?

The InputHyperlink function will surround the object with a hyperlink if the object (image) is selected.

Julian

#4 ♥ 0
This category is archived. No new posts are possible.