workaround for gallery image service