I wanted to work on an actual project to better develop my skills. I have always wondered about how a Lightbox worked. So I returned to the demo in 1.4.1. To use multiple images I knew I would have to build an array of available images and then loop through the array to build the html page. To test this I added another image in the html page.
<div id="lightbox-demo">
<a class="lightbox" href="15May19-166.jpg"><img class="wapuu" src="15May19-166.jpg" alt="JS Wapuu" title="Meet JS for WP Wapuu!!!"></a>
<a class="lightbox" href="15May19-155_DxO.jpg"><img class="wapuu" src="15May19-155_DxO.jpg" alt="JS Wapuux" title="Meet JS for WP Wapuu!!!"></a>
</div>
However, this did not work. Clicking on the second image always produced the following error regardless of the image used.
Resource interpreted as Document but transferred with MIME type
I am obviously missing something, probably rather simple. Suggestions.