How to read code from Azure Blob storage in to PHP?

I have a WordPress plugin that reads and displays image files from the plugin folder, the plugin reads and displays the images name from a CSV as there is almost 200+ files. Now the client wants to migrate the images to Azure Blob storage. The current code looks like below. '<div style="background-image: url('+csvData['logo']+')">' + '<div style="background-image:url('+csvData['banner']+')"></div>' Can you please help me how to implement this in PHP? I have seen in an example to implement as below $storageAccountName = 'name'; $accessKey = "xxxxxxxx"; $containerName = 'test'; $blobName = 'sample.png'; However in this case the $blobName cannot be defined as there is 200+ files in Container. The images need to display at multiple locations. The files are private (no anonymous access). Thanks

Comment (0)

You’ll be in good company