Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Saied 349 posts 674 karma points
    May 25, 2016 @ 18:19
    Saied
    0

    Serve scaled image from cdn using ImagProcessor

    Hi,

    I have an image element like this:

    <img src="https://az824306.vo.msecnd.net/sctlwtsp/5015p_5416p_livewirets.png?width=73&height=73" alt="">

    I can't get this to resize when coming from the cdn, but it works if I have the image locally.

    Thanks Saied

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    May 25, 2016 @ 19:51
    Jeavon Leopold
    0

    The Azure CDN cannot resize for you, it has to be processed before its pushed to CDN.

    I have a soon be released packaged called AzureCDNToolkit, I suggest you have a good read of the documentation to understand what's involved in getting setup https://github.com/CrumpledDog/Umbraco-AzureCDNToolkit

  • Saied 349 posts 674 karma points
    May 25, 2016 @ 19:58
    Saied
    0

    Jeavon,

    Thanks, I will have a look, so when this is released, would I be able to resize images coming from the cdn?

    Thanks, Saied

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    May 25, 2016 @ 20:12
    Jeavon Leopold
    0

    Step 1 and 2 of the documentation are about configuring the CDN and existing plugins for Umbraco this will achieve resized images coming for the CDN as is now. The Toolkit adds features on top of that such as fully resolved CDN paths instead of 301 redirects to CDN.

Please Sign in or register to post replies

Write your reply to:

Draft