Copied to clipboard

Flag this post as spam?

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


  • Umbracoraco 23 posts 153 karma points
    Aug 28, 2023 @ 05:37
    Umbracoraco
    0

    Issue with Incorrect Image Resizing in Umbraco 10

    I'm encountering a perplexing problem related to image resizing in my Umbraco 10 project. Occasionally, certain images are being resized incorrectly, resulting in unexpected rendering. The project employs the ImageSharp library for image manipulation. I have noticed that when I reload the page ignoring the cached content, the images are rendered correctly but turn blurry right after simple page reload.

    Actual result: blurry Expected result: enter image description here

    I am eager to learn if others have come across similar issues or possess insights into potential resolutions. If anyone can offer advice, code snippets, or suggestions on troubleshooting image resizing discrepancies within Umbraco 10, I would greatly appreciate your guidance.

    Thank you in advance for your help!!

  • Luuk Peters 84 posts 325 karma points
    Sep 01, 2023 @ 10:05
    Luuk Peters
    0

    I can't say that I have seen these issues. But I know that Umbraco 11+ has a newer major version of ImageSharp. Maybe you could update to Umbraco 12, there are very few breaking changes from 9 to 12.

  • Umbracoraco 23 posts 153 karma points
    Sep 04, 2023 @ 05:15
    Umbracoraco
    100

    Found the root cause, it was response cache...

  • Farooq Alwi 12 posts 102 karma points
    Dec 19, 2023 @ 06:09
    Farooq Alwi
    0

    Hi @umbracoraco, I am facing the same issue. Can you please tell me how can I resolve the issue?

    Thanks and Regards

    Farooq

Please Sign in or register to post replies

Write your reply to:

Draft