3 Uploading images for the website to Azure blob storage
Abram Sanderson редактировал(а) эту страницу 2024-09-30 15:40:05 -07:00
  1. Go to https://portal.azure.com.
  2. Go to the fluidframework storage account.
  3. Click "Storage browser" in the left-nav.
  4. Expand "Blob containers," and open the static container.
  5. Change "Authentication Method" to "Microsoft Entra user account"
  6. Navigate to wherever you want the file to go. Typically this is static/images.
  7. Upload the file.
  8. Select it and click "Copy URL" in the toolbar to get the URL. It should be of the form: https://fluidframework.blob.core.windows.net/static/images/IMAGE.png
  9. Use the same pathname, but replace the hostname of the URL with storage.fluidframework.com to get the form: https://storage.fluidframework.com/static/images/IMAGE.png

Using storage.fluidframework.com ensures the image is served from our CDN rather than directly from blob storage.