simonbrowndotje / c4model

The website at c4model.com
Other
29 stars 12 forks source link

Add link to open image in new tab to view in full size #10

Closed asfaltboy closed 2 months ago

asfaltboy commented 2 months ago

Some of the images are high detail, and when embedded on a page the text may appear a bit small, which require opening the underlying URL in a separate tab to view full size.

The simplest way to help individuals who want to quickly examine diagram details, is to allow them to click and open it in a new tab, then zoom in as needed, and then close the tab when done.

As a stretch goal, we can use a "light-box"-like library. I've used magnific-popup in the past for this.

simonbrowndotje commented 2 months ago

Most of the images do open when clicked upon - which ones are missing?

asfaltboy commented 2 months ago

Ah you are right, sorry I made this assumption when looking at a specific page, and didn't check other pages. The pages I noticed missing links to images are:

We can probably run a grep -B3 img to double check if there are any other missing links.