Copied to clipboard

Flag this post as spam?

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


  • OSKI 16 posts 161 karma points
    Jul 09, 2021 @ 09:37
    OSKI
    0

    Media remove questions and improvement requests

    Please send questions and improvement requests about Media Remove package. I plan to release an updated tool within one month.

  • CraigFerguson 8 posts 98 karma points
    Jan 06, 2022 @ 14:01
    CraigFerguson
    0

    Hi Kirill19837,

    Great package! It works really well apart from one little thing. I noticed that your package doesn't track images that are inserted into the RTE resulting in these images being deleted if that's the only place they are used.

    I'm using version 1.0.2 on Umbraco 7.14

    Cheers Craig

  • OSKI 16 posts 161 karma points
    Jan 06, 2022 @ 14:36
    OSKI
    0

    Hello Craig. So you inserted image as link to umbraco media? Can you send example of RTE markup to check? Thanks, Kirill

  • CraigFerguson 8 posts 98 karma points
    Jan 06, 2022 @ 16:05
    CraigFerguson
    0

    Hi Kirill,

    This is an older site that I have been asked to tidy up the media on. Here is an example of the markup:

    <div class="row">
        <div class="blogbox col-md-4">
            <div class="blog-like-image-wrapper"><img src="/media/2107/csr__mitie_foundation.jpg" alt="W1siziisijiwmtcvmdivmdgvmtivmzuvmdkvmzi4l0ntul9ftwl0awvfrm91bmrhdglvbi5qcgcixsxbinailcj0ahvtyiisijewmhgxmdalil1d" data-reference="7f6a6228d2d9dabfe7528e483fea76fb" /></div>
            <h2>Title</h2>
            <p><span style="background-color: #ffffff;">Content</span></p>
        </div>
        <div class="blogbox col-md-4">
            <div class="blog-like-image-wrapper"><img src="/media/1059/csr_it_employment_workshop.jpg" alt="W1siziisijiwmtcvmdivmdgvmtivmzuvmtkvmjuyl0ntul9jvf9fbxbsb3ltzw50x1dvcmtzag9wlmpwzyjdlfsiccisinrodw1iiiwimtawedewmcuixv0" data-reference="76b0c81aa8740b405a08adc123812ce2" /></div>
            <h2>Title</h2>
            <p><span style="background-color: #ffffff;">Content</span></p>
        </div>
        <div class="blogbox col-md-4">
            <div class="blog-like-image-wrapper"><img src="/media/1060/csr_dojo.jpg" alt="W1siziisijiwmtcvmdivmdgvmtivmzuvmzuvodi3l0ntul9eb2pvlmpwzyjdlfsiccisinrodw1iiiwimtawedewmcuixv0" data-reference="5b82f797a961f1d0da741be61c32a7bc" /></div>
            <h2>Title</h2>
            <p>Content </p>
        </div>
    </div>
    

    The first image "csr_mitiefoundation.jpg" was removed and another from the next row. The 2nd and 3rd images appear in other places in the site so they were preserved.

    I tried inserting a new image on a test page and see that the markup was different and included a: data-udi="umb://media/40a06fd9b20d4be983c2791059d5a02f"

    <p><img style="width: 500px; height:166.4929650859823px;" src="/media/2767/kindle.jpg?width=500&amp;height=166.4929650859823" alt="" data-udi="umb://media/40a06fd9b20d4be983c2791059d5a02f" /></p>
    

    So it could be that this markup has come from a older version of umbraco and is not being tracked properly.

    Thanks for the quick response Craig

  • Ramya Devendiran 26 posts 147 karma points
    Oct 25, 2022 @ 09:06
    Ramya Devendiran
    0

    Hi Kirill,

    Our solution is in Umbraco 10 and would like to install MediaRemove package. Is this compatible with Umbraco v10.

    I tried to install and it doesnt work.

    In the backoffice frontend, RebuildStatus is loading forever. error in the debug console. "Could not load content for https://localhost:44375/umbraco/lib/angular/angular.js"

  • OSKI 16 posts 161 karma points
    Oct 25, 2022 @ 09:50
    OSKI
    0

    Hello Ramya. We have no version for U9-10. Probably we will release it before the end of a new year. Thanks, Kyrylo

  • OSKI 16 posts 161 karma points
    Mar 20, 2023 @ 15:16
  • OSKI 16 posts 161 karma points
    Mar 20, 2023 @ 15:16
    OSKI
    1

    hello. Finally, we released a version for Umbraco 10 (net6) https://www.nuget.org/packages/MediaRemove/

Please Sign in or register to post replies

Write your reply to:

Draft