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.
Why is this only developed for 1 region? We really need this as well. (Was the main reason of enabling the CDN in the first place)
Any news about this?
AWS CloudFront offers this.
As this request is almost 4 years old and it's available in the China region, one can only assume it will never make it globally available.
_Please_ make the China CDN image processing a global offering.
It is said in the product documents that CDN image processing is supported, just migrated from other products to azure, supported by China's 21V platform, but not supported by global, which is very disappointing.
Kevin M commented
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.
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.
M Posthumus commented
It appears this type of functionality is available for the China CDN - any plans to make it available more broadly? https://docs.microsoft.com/en-us/azure/cdn/cdn-china-delivery
Miguel Rasero commented
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!
Dave ng-js commented
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
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"?
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
the same way you do compression options, you coudl have that option too..