Copied to clipboard

Flag this post as spam?

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


  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Oct 17, 2019 @ 21:32
    Frans de Jong
    0

    Blob storage and cloud

    I'm using blobstorage with cloud for the first time. All is working, exept the imagecropper.

    If I use Url.GetCropUrl I get the original image... How can I get the cropped image as I requested?

    Thanks, Frans

  • Sebastian Dammark 583 posts 1407 karma points
    Oct 18, 2019 @ 23:15
    Sebastian Dammark
    0

    I do like this:

    Model.BackgroundImage.GetCropUrl("CropName")
    
  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Oct 22, 2019 @ 09:44
    Frans de Jong
    0

    That is not the solution.

    The I get the crop url from the method I use but when I request the image it returns the original. This code works without using blobstorage.

  • Sebastian Dammark 583 posts 1407 karma points
    Oct 22, 2019 @ 17:25
    Sebastian Dammark
    0

    Well, that’s what I do on a site that uses blob storage. And it works

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Oct 22, 2019 @ 10:15
    Jeavon Leopold
    100

    If you are using the NuGet pacakge I would recommend that you install the Umbraco package over the top, the installer will check for any config issues (use Git to check for any changes)

  • Nik 1617 posts 7263 karma points MVP 7x c-trib
    Oct 22, 2019 @ 10:50
    Nik
    0

    The most common issue I've found is the security.config file not being configure correctly for Image Processor. If it is missing the prefix attribute in the service element for CloudImageService it won't process the requests properly and returns the full image.

    So it should look something like this:

    <service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web" >
    

    See if that helps :-)

    Nik

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Oct 30, 2019 @ 08:09
    Frans de Jong
    1

    Thanks guys

    The issue was due to a missing key in the security config. Jeavons solution pointed me in the right direction.

    I've corrected the Umbraco documentation so this won't happen to the next one following it.

Please Sign in or register to post replies

Write your reply to:

Draft