Presuming you want use the awesomeness of ImageProcessor (included in 7.2.0), here are some hints on getting this working with Umbraco 7.2.0 (RC) anyone that might be struggling.
Open your PM Console in Visual Studio and go;
PM> Install-Package ImageProcessor.Web.Config
This will update your ~/web.config and will add several new files in ~/config/imageprocessor/
Then browse to ~/config/imageprocessor/security.config.
Open it and ensure it has the following remote image service section;
The remote prefix setting isn't needed and allow remote download setting also isn't, just the presence of the service in the setting will allow it.
If you want to change the prefix value just set the prefix property in the opening declaration.
Quick Tip - Umbraco 7.2.0 (RC) & Remote Images
Presuming you want use the awesomeness of ImageProcessor (included in 7.2.0), here are some hints on getting this working with Umbraco 7.2.0 (RC) anyone that might be struggling.
Open your PM Console in Visual Studio and go;
PM> Install-Package ImageProcessor.Web.ConfigThis will update your
~/web.configand will add several new files in~/config/imageprocessor/Then browse to
~/config/imageprocessor/security.config.Open it and ensure it has the following remote image
servicesection;Here I added the keys
AllowRemoteDownloadsandRemotePrefix. I also had to<whitelist />the CDN I wanted to use.Then, over in my view;
(where
Model.Video.ImageUrlwas a string something likehttps://i.vimeocdn.com/video/474774013_1280.jpg)That should do it.
You then need to buy @jamesmsouth a beer.
Love it! :)
Just a quick amend.
The remote prefix setting isn't needed and allow remote download setting also isn't, just the presence of the service in the setting will allow it. If you want to change the prefix value just set the
prefixproperty in the opening declaration.Also yeah, beer is great.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.