Image Bookmark

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Matze
Sr. Propeller Head
Posts: 166
Joined: Mon Jun 20, 2016 10:35 pm

Image Bookmark

Post by Matze »

How can I directly set a bookmark on a image. My ideas do not work, I can only bookmark headings.
trent the thief
Propellus Maximus
Posts: 613
Joined: Wed Feb 01, 2006 6:21 am
Location: Off in the dark....

Re: Image Bookmark

Post by trent the thief »

I was able to add a bookmark for an image from the ribbon after selecting the img block. It leaves the anchor between the p and img tags:

Image

Image

What did Flare do in the code when you tried it?


Are you able to use Slack? You'll get faster responses in the Flare channel. If you're not using it and would like to, PM me your email address.
Trent.

Certifiable.

Image

umm...
I meant MAD Certified.

Official Propeller Beanie Owner :-)

:flare: Are you on Flare's Slack channels? PM me for an invitation! :flare:
Matze
Sr. Propeller Head
Posts: 166
Joined: Mon Jun 20, 2016 10:35 pm

Re: Image Bookmark

Post by Matze »

hmmm, it does not work, then I get an empty xref link which will not be published.
Matze
Sr. Propeller Head
Posts: 166
Joined: Mon Jun 20, 2016 10:35 pm

Re: Image Bookmark

Post by Matze »

thats my bookmark code inside of the target:

<p>
a name="M-BAR_Screw_ASS"></a>
<img src="../../../Images/1_Img_ASSY_TCB_M_S/PCBs/TCB_M_Mainboard.jpg" class="B175" />
</p>

and that is my xref code from the start topic

<p class="TabText_LB">
<MadCap:xref href="../../1_Task_ASSY/PCBs/TCB_M_ASSY_MainPCB_Ass.htm#M-BAR_Screw_ASS" class="Link_to_TASK" />
</p>
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: Image Bookmark

Post by NorthEast »

You are getting an empty xref because there is no text in the paragraph that contains the bookmark.
If you want to use a xref, then you need to have some text in that paragraph.

If you don't want text in that paragraph, then use a normal hyperlink instead of a xref.
trent the thief
Propellus Maximus
Posts: 613
Joined: Wed Feb 01, 2006 6:21 am
Location: Off in the dark....

Re: Image Bookmark

Post by trent the thief »

You could bookmarks the image captions to make the cross-refs work as you need.
Trent.

Certifiable.

Image

umm...
I meant MAD Certified.

Official Propeller Beanie Owner :-)

:flare: Are you on Flare's Slack channels? PM me for an invitation! :flare:
Post Reply