Solution: Created a visualforce page through which the user can upload the image in the content file system in Salesforce. … After CD (ContentDistribution) record insertion, you will get the ‘ContentDownloadUrl’ for that file.
ContentDocumentLink. Represents the link between a Salesforce CRM Content document or Salesforce file and where it’s shared. A file can be shared with other users, groups, records, and Salesforce CRM Content libraries.