Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a problem with azure cdn + umbraco that you maybe can help.
I have 2 projects one umbraco 7.15.3 and the second is umbraco 8.6.1
both configured to work with azure storage and cdn (every project with its own storage)
both are working fine except for one problem with the umbraco 8
the flow is like this:
i upload an image from the umbraco backoffice media section.
i can see the image in the right folder in azure storage and i can see the thumbnail in umbraco media section
but when i click the image i can see the properties of it but no image :(
i made number of test and realized that when i use the imageprocessor the image is served with no problem (that is the reason that i can see the thumbnail in umbraco backoffice, the url is http://localhost:6365/media/53lfufg3/call.png?width=500&mode=max&animationprocessmode=first it uses the imageprocessor and everything is working)
but when I request the image like http://localhost:6365/media/53lfufg3/call.png
i get nothing
please help if you think of anything that can cause this behavior
I think you missing this section in web.config
<remove name="StaticFileHandler" />
<add name="StaticFileHandler" path="*" verb="*"
preCondition="integratedMode" type="System.Web.StaticFileHandler" />
I have this section in the web.config
can you check what container on your blob is public
By default ImageProcessor doesn't allow serving images without any querystring arguments for processing
you can change this on the root node in the imageprocessor/processing.config
<processing interceptAllRequests="true" ...
by default the value is false
Thank you very very much.
this is working great
I think it not ideal idea to pass all media requests via imageprocessor. I my vision media files should work without depending on image processor.
It's not a big problem if you use a CDN in front, we normally load images through a CDN pointed directly at the site.
We avoid the built-in CDN handling in image processor as that relies on redirects after the images have been processed and that isn't optimal on larger sites with lots af traffic
@Thomas Rydeen Skyldahl does that mean then that your cdn origin is the umbraco website instead of the azure blob storage holding the media and cache folders
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted