add a related_names to the gallery's images
copy images when copying the plugin