DeepBlueCLtd / LegacyMan

Legacy content for Field Service Manual
https://deepbluecltd.github.io/LegacyMan/index.html
Apache License 2.0
2 stars 0 forks source link

Missing picture labels #594

Closed IanMayo closed 9 months ago

IanMayo commented 9 months ago

A number of the _pics files contain text labels. These captions explain what is in the image, for example - it's a screenshot of a system running at 200rpm on a very cold day. This significant context explains how the image is to be interpreted.

They are floating beneath the image. These top level divs tend to have an id beginning with ClickOnThePic, ClickOnThePic2, etc. In the example I just looked at, the top of the ClickOnThePic was at 415, and the top of the image div was at 5px. We appear to be correctly pulling in the image divs - we just need to associate them with the ClickOnThePic with a top immediately afterwards - and insert the div contents as text following the img in the div.

There are also lots of blocks saying "Click the picture to return to the previous page". We aren't processing these, since modern users know how to use the browser Back button.

But, these text labels aren't going over - and the content checker is finding these instances.

Reproduce the pattern, and come up with a way of handling them.

Sample content in #601