locked
Instruction on how to work with images and videos in the storage azure using php RRS feed

  • Question

  • Dear Sirs

    I followed below instruction to make video and image storage on Azure using PHP:

    http://azure.microsoft.com/en-us/documentation/articles/storage-php-how-to-use-blobs/

    Whenever I record an image on Azure storage and download stored image there is no format in the stored image. and end up becoming like any other regular file. Othe problem is that I cannot see the concerned image in the browser. I already have checked recipient access and it is defined as public reading. 

    Could you also please provide me with an article instructing how to make upload,  download, show up on the browser and remove video and images from the azure storage area?

    Thanks & Regards,
    Pedro
    Thursday, January 15, 2015 6:36 PM

Answers

  • Hi Pedro,

    Thanks for your posting!

    I am not familiar with PHP. But from your description, I think your need pay attention to those points in your code:

    1.When you store file or download file, please write the file name and suffix, for example, you need store image as blob name "image.png".

    2.When you download file from Azure blob, you need set the content type.

    if your file is image, you could set the content type as image type.

    3.You could get the blob URI, and set your image URL as blob URI. Do this, you can show the picture.

    Please see this similar issue thread:

    http://phpazure.codeplex.com/discussions/472840

    Regards,

    Will


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 16, 2015 7:15 AM