Recent Topics

1 Aug 03, 2020 20:58    

In good old days we would use the quick upload feature to add image with html like <img src="image.jpg"> and add some description below. Things are more complex now with the "Images & Attachments" field that are supposed to make things easier. But now I am stuck with a simple task: How can I add the photo credit - a link - to the image caption? It seems that the html part is not rendered. Does anyone have a clue how to use html in the image caption? The html part is not shown: <a href="https://b2evolution.net">Image credit: B2evolution</a> I was desperately going through the constantly growing amount of settings without success. Thanks!

Example: Link is not rendered

[image:30: This is a nice picture. <a href="https://www.flickr.com/">Photo: uuser. flickr</a>]

3 Aug 03, 2020 22:51

Update: @nomad

I'm using 7.1.6 and this syntax works: You must tap/click on the image not the caption.

[image:65:caption:https://unveiled.info]

Working example with no caption. Click on image to go to bbc.co.uk

5 Aug 05, 2020 12:53

@amoun wrote earlier:

Update: @nomad


I'm using 7.1.6 and this syntax works: You must tap/click on the image not the caption.


[image:65:caption:https://unveiled.info]




Working example with no caption. Click on image to go to bbc.co.uk
[image:13294::https://bbc.co.uk]

But you still cannot add the link with the photo credentials inkl link in the caption?

6 Aug 05, 2020 14:39

Yes, that is how I do it as well, by using plain html. Within the short code it is not rendered

7 Aug 07, 2020 14:48

Presently the option is only a link if the image is clicked on so the update, if there is to be one would allow a link to text in the caption.

The syntax below would allow for example,
if the image was that for the BBC then the image would link to the base site, whereas the caption to a separate URL

[image:66:<href ="https://bbc.co.uk">NEWS:https://bbc.co.uk/news]

This provided for multiple links, one to the image and many to the text

Alternatively

The problem may be the order of parameters
1) image
2) :ID_No
3) :caption
4) :HRef

Then the HRef only applies to
a) caption
[image:66:NEWS:https://bbc.co.uk/news]if
else
if the caption is void
[image:66::https://bbc.co.uk/news]

or maybe
1) image
2) :ID_No
3) :HRef
4) :caption
5) :HRef

Must wait and see how development goes.

This post has 1 feedback awaiting moderation...


Form is loading...