Ok, so I’ve gone through the code snippet and have a few questions.
1. Do I need to have two of each image in my media library? It seems like the original file is called and then a second instance of each photo formatted to 550×550.
2. The data-lightbox calls a ‘group:mygallery”. Is that the name of the individual galleries or do I need to set up a specific gallery just for my homepage? More specifically, each of the images on my home page gallery points to a specific gallery set, so should/can that group be the gallery pointed to?
3. Finally, does this snippet go into the “Insetfull” widget where the portfolio snippet is?