How can we improve Azure CDN?

CDN image auto image crop and resizer functionality for images

It would be really good, if the CDN could handle query strings and for the file format of images, handle resizing and cropping parameters automatically to resize our content needs... This done by the Azure CDN by its own.

79 votes
Vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
You have left! (?) (thinking…)
MiKe QZ shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

8 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...
  • Kevin M commented  ·   ·  Flag as inappropriate

    How about the ability to trigger Azure functions on events @ the CDN level like AWS has when using Lambda@edge? The you can use Azure function to resize the image based on cache misses in the CDN.

  • Emardini commented  ·   ·  Flag as inappropriate

    It would be helpful to have this feature, we have a short term need of this, otherwise we will have to start developing our own.

  • Miguel Rasero commented  ·   ·  Flag as inappropriate

    Hi everyone,

    We offer this service at https://www.pixelcrush.io and we use Azure CDN underneath to cache our manipulated images, take a look at our product!

    We offer a $10 trial account with no credit card information needed so feel free to try yourself and give us some feedback!

    Miguel.

  • Dave ng-js commented  ·   ·  Flag as inappropriate

    IMHO, that's not what CDNs do or even should do. CDNs are there for fast delivery. That implies as little logic as possible.

    Additionally, image conversion isn't really that trivial. Resizing can take a LOT of arguments to describe exactly what you want to accomplish. Just think of resizing with cropping and specifying which area of the image to crop, image format conversion with different "quality" settings (or compression levels for PNG), transparency, and so on...

    We should leave that to specialized services like https://tiny.pictures or the like.

  • MiKe QZ commented  ·   ·  Flag as inappropriate

    Great Great would be the the CDN, could detect that some end points are for image formats, and then the CDN would accept some parameters like height and with and would convert the image automatically to those dimensions on the fly. Or crop with aspect ratio... Without any engine rules by me, i mean something that is smart to understand what we want. Because what i need to do today is setup a server dedicated to crop images, it reads the CDN version then recreates a crop and then send to user.. but its "ugly"?

  • AdminAnton Kucer [MSFT] (Principal Program Manager, Microsoft Azure) commented  ·   ·  Flag as inappropriate

    What specifically are you looking for regarding handling of query strings? The following details the support that is enabled today for query string in CDN Standard - https://azure.microsoft.com/en-us/documentation/articles/cdn-query-string/. in CDN Premium there is much finer control available on handling query strings via use of the rules engine. Are you looking to pass in parameters via the query string to control image cropping and resizing of images.

  • MiKe QZ commented  ·   ·  Flag as inappropriate

    the same way you do compression options, you coudl have that option too..

Feedback and Knowledge Base