Initialize product gallery after all images are loaded