Copied to clipboard

Flag this post as spam?

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


  • Rahul 5 posts 75 karma points
    Nov 07, 2023 @ 16:36
    Rahul
    0

    Website static images display as distorted/blurred from time to time, this fixes on hard refresh.

    Images on my website seem to change in size. Sometimes they get displayed in distorted sizes (smaller aspect ratio) and sometimes blurred. Once I hard refresh the website, it displays perfectly again.

    Is this because of Umbraco rendering the image differently each time? Does Umbraco already have a fix for this in their newer versions ?

    I am sharing the code I used below:

    var featureImage = bannerInfo.Value

  • Firas Sfaxi 2 posts 72 karma points
    Nov 23, 2023 @ 00:56
    Firas Sfaxi
    0

    I'm facing the exact same issue. Any luck solving it?

  • Danine Noble 80 posts 345 karma points
    Nov 27, 2023 @ 16:07
    Danine Noble
    0

    Is there a reason you're not accessing the media item's URL instead of a field value? Or are these not stored in the Media Library at all? If this is the case, where are they located?

    Using any CropUrls?

    Are you using any sort of image optimizer or lazy loading?

  • Rahul 5 posts 75 karma points
    Nov 30, 2023 @ 10:15
    Rahul
    0

    Hi - Thanks for looking into it. We still haven't found a concrete solution.

    • We are using Umbraco v10, so the media files are located in Azure blob storage and yes we do are accessing them using URLs enter image description here

    • The images which load as distorted do not use CropUrls.

    • I don't think that any image optimizer or lazy loading is being used (as shown in code snapshot)

Please Sign in or register to post replies

Write your reply to:

Draft