add select2 call after loading new images
Fixes #5385