BenShelton / library-api

An API for accessing information related to meetings and publications of Jehovah's Witnesses
https://benshelton.github.io/library-api/
MIT License
10 stars 2 forks source link

[Feature] Show Paragraph Number on Image #65

Open BenShelton opened 3 years ago

BenShelton commented 3 years ago

Packages

Media

Describe the solution you'd like

When an image is meant to be shown with a paragraph, the text "(See paragraph x)" is normally at the end of the image description. This means you have to scroll down on each description to see what paragraphs they relate to.

It would be easier if we could in some way extract that number and display it on the image itself (similar to how the Download icon overlays videos that are not downloaded)

Describe alternatives you've considered

Scrolling down the description to view the paragraph number

Additional context

Although images would never show the Download icon I don't think it would look good on the top right. Perhaps the bottom left which would match how the song number is displayed on song video thumbnails.

Also we need a way to do this across languages so a regex will probably be difficult to get working on all languages. If there is any extra metadata we can take about the image itself from the publication db that indicates what paragraph it relates to that would be a better option.