How to reference the images in ~\Content\Images to Azure CDN

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Hi to everyone, I cant find a clear implementation of this subject on the forum.
I had http://www.ehubcap.net hosted in Azure in a standard website plan with a CDN  to store the images.
What is the proper way to link or how to change the reference of the image folder in the content directory to point to my CDN storage URL?
Thank you
Jose
ehubcap

note: I'm following this Scott Hanselman video
9 years ago
What are the steps to link the the content folder elements using Razor view, with the CDN endpoints created on Azure storage for my hosted website?
Can anybody help?
Thank you
9 years ago
Have you checked this?

There is a free CDN Plugin available that you can use.
9 years ago
Hi Krunal, thank you for responding, I'm checking it right now, I already red this referenced article and a whole lot of written blogs essays and know how, I will try you plugin next, very interested since you demo store shows impressive performance, I need to check all the metrics to compare the equivalency toward mine
Thank you
Jose
9 years ago
Hi Jose,

We'll wait for your response on our support system to guide you on how you can use it correctly.

Regards,
Krunal
9 years ago
Krunal, I'll be back in a moment, I have the plugin installed and configured, on the developer console, I can see the redirection active however the string have the "http" layer missing from the string so the images aren't rendering....

<img alt="eHubcap.net Online store" title="eHubcap.net Online store" src="//thumbs.ehubcap.net/content/images/thumbs/0000117.png">

I'm working on it....
9 years ago
ehubcap wrote:
Krunal, I'll be back in a moment, I have the plugin installed and configured, on the developer console, I can see the redirection active however the string have the "http" layer missing from the string so the images aren't rendering....

<img alt="eHubcap.net Online store" title="eHubcap.net Online store" src="//thumbs.ehubcap.net/content/images/thumbs/0000117.png">

I'm working on it....


The img src is protocol less. However that is not the issue. What i get trying to access image here is ResourceNotFound error. So there might be something wrong with cdn configuration. Pls update me what you change to fix that.
9 years ago
Ok I"ll go to my Azure portal to check the CDN config....
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.