%id=pic1% Attach:image.jpg"Alt Text" | Caption FIG(pic1)
The problem is that the figure reference in the web shows up as ‘this picture’ instead of ‘Alt Text’ that I thought it would be. Or at least ‘Caption’. But not ‘this picture’.
The words ‘this image’ is correctly a link to the anchor where the image is, and correctly the figure reference in the PDF shows up as ‘figure 1’.
%id=pic2%Attach:image.jpg"Alt Text" | Caption FIG(pic2)