Copied to clipboard

Flag this post as spam?

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


  • Kin 30 posts 172 karma points
    Mar 23, 2016 @ 16:31
    Kin
    0

    How to update ImageCropper's src after moving to virtual path?

    Hello,

    I've recently moved my Umbraco application from "/" to "/MyVirtualPath".

    I've tried:

    1. replacing the src from [cmsContentXml]'s [xml] column via SQL, but it doesn't seem to take that change.
    2. Reupload a new one, or remove it. It doesn't work as it says "[it's] outside this filesystem's root."

    Any idea how to fix this? Thank you!

    EDIT: Just to clarify, it doesn't work in the backoffice, or the front. I use @CurrentPage.GetCropUrl({...}) to get the URL in my view.

  • Kin 30 posts 172 karma points
    Mar 25, 2016 @ 21:10
    Kin
    0

    So I did this today and it fixed it in my view, but I still can't load it correctly in my backoffice. (Still takes old path)

    1. Deleted my umbraco.config file
    2. Updated the path via SQL
    3. Recycled my AppPool

    {site}/umbraco/backoffice/UmbracoApi/Content/GetById still returns the old data.

    How do I fix this?

  • 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.

Please Sign in or register to post replies