DAR-1717: Refactor ImagesService::overrideThumbnailFormat