Connect titles and corresponding pictures in html document

Trying to make a simple cheatsheet where I pair scientific names with pictures soorted under the scientific family name. For this I have a google sheet with columns with the 'common name', 'family', 'genus', 'species', a concatenated 'genus species' column and finally a column with hyperlinks to the foto's on google drive.

I am a novice in R and need help creating the code chunks to get this done.