Thanks Jim.
I realised later after I published this that I also broke the responsiveness by hard coding in the sizes on this part. I'll do another post shortly where I will fix the responsiveness and show a way to handle thumbnails so the page can load and preview fast but maintain the ability to view the full size image if we want.
I'll post the link when it's ready.