Try our conversational search powered by Generative AI!

Imgix with EPiServer?

Vote:
 

Hi!

I am wondering if anybody has ever tried to use imgix to render images in EPiServer. The challenges I have met so far, is that imgix need access to the blobs. So I tried to save the blobs in Amazon S3, and set it up with imgix. 

The problem then, is that the imgix has the guid instead of the filename in the url. 

E.g.: http://sitename.imgix.net/18dd89f3df594c69bd607873fe1273a7/a8fe8b347e484911a9a26101a919b69e.jpeg

But the url we want is /globalassets/.jpeg. 

How do I get around this?

I would like to migrate to amazon without having to manually add alle the images again.

#187085
Edited, Jan 11, 2018 14:06
Vote:
 

CDN i always a bit tricky to handle. There are a couple of blogpost about image cdn mostely with azure though. They might be of assistance. We have used a module for this:

http://mariajemaria.net/azure-cdn-episerver-projects

http://marisks.net/2017/05/14/changing-static-resource-urls-to-cdn-urls-with-url-rewrite/

https://getadigital.com/blog/add-azure-cdn-or-any-cdn-to-your-episerver-site/

Best of luck

#187129
Jan 12, 2018 16:12
Vote:
 

Thanks, but I managed to resolve this by getting the image url using the EPiServer.Amazon package, like this:

var imageUrl = imgixUrl + image.Full.ID.AbsolutePath;

#187171
Jan 15, 2018 11:49
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.