Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Grantham 8 posts 28 karma points
    Apr 16, 2014 @ 14:01
    Richard Grantham
    0

    storing image

    Hey, I just wanted to ask if its possible to only store media images in the blob storage as apose to storing a local copy as well?

    Thanks

    Richard

  • Dirk Seefeld 126 posts 665 karma points
    Apr 16, 2014 @ 14:09
    Dirk Seefeld
    0

    Not sure what you mean, but this package does only store media item in the configured azur blob. There are no duplicates locally stored.

  • Richard Grantham 8 posts 28 karma points
    Apr 16, 2014 @ 14:19
    Richard Grantham
    0

    Many thanks for taking the time to reply. I think it maybe how my project is setup. I am storing local files as well as ones in the azure blob. But at least I know that's not down to the package so thanks for that.

    Also it works very nicely in version 7 with no issues :)

  • Richard Grantham 8 posts 28 karma points
    Apr 16, 2014 @ 17:01
    Richard Grantham
    0

    Just checked this again, and it definietly seems to store a local copy of the image in the media folder in the project and also one in the blob too. Do you think I have done something wrong?

    Thanks

    Richard

  • Dirk Seefeld 126 posts 665 karma points
    Apr 16, 2014 @ 18:21
    Dirk Seefeld
    0

    I also checked and it does not if all is properly configured. Please check the documentation. For now I have no idea what's going wrong. I am testing with version 6.1.6. Have not tryed version 7.

    Kind Regards
    Dirk

  • Richard Grantham 8 posts 28 karma points
    Apr 17, 2014 @ 09:50
    Richard Grantham
    0

    Can you tell me if the back office images are referenced on the CDN as well? It seems all my back office media images in Umbraco are looking for local copies?

    Thanks in advance

    Richard

  • Dirk Seefeld 126 posts 665 karma points
    Apr 17, 2014 @ 10:51
    Dirk Seefeld
    0

    Hi Richard,

    I think the problem is a misunderstand of the purpose of this package. So may be the following makes it clearer:

    What the package does is storing uploaded files in the configured azure blob storage instead of the local filesystem.
    Uploading file in Umbarco is done by the upload data type via the so called "FileStytemProvider" for media (see: ~/Config/FileSystemProviders.config).
    For example this datatype is used by the default Image or File Type of the Media Types. But you can use the upload data type on any document type that you create.
    In version 6.1.x Umbraco uses only one FileSystemProvider for alias media. If you define a second provider for the same alias you get an error.

    All back office images and files like css or js that could benefit form a CDN are referenced locally to the umbraco installation or its virtual root. This has nothing to do with this package.

    Hopefully this helps you.

    Dirk

     

  • Richard Grantham 8 posts 28 karma points
    Apr 22, 2014 @ 11:30
    Richard Grantham
    0

    Hi Dirk

    Many thanks for the reply, that makes total sense. From what I can see there must be a problem at my end. If I upload an image in umbraco it stores a copy in the local media directory and also stores a copy on the azure blob. It then looks like in the backoffice all the images reference the local image.

    Thanks again

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft