Copied to clipboard

Flag this post as spam?

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


  • Mads Sørensen 188 posts 433 karma points
    Oct 20, 2017 @ 12:06
    Mads Sørensen
    0

    Slimsy - creats blackline in crop

    Hi I've got a weird error in some of my crops when the are generated by slimsy. The crop generates a black border/line in some of the images (not every one).

    Examples:

    Without black line/border:

    <img src="@image.GetCropUrl("New Thumbnail")" alt="@image.Name" title="@image.Name" />
    

    Link to Image

    With black line/border:

    <img src="@image.GetResponsiveCropUrl("New Thumbnail")" alt="@image.Name" title="@image.Name" />
    

    Link to image


    Sometimes the border appears to the left, right, top and bottom.

    Any help would be appriciated :D

  • Mads Sørensen 188 posts 433 karma points
    Oct 24, 2017 @ 10:08
    Mads Sørensen
    0

    Any help would be great :D

  • Mads Sørensen 188 posts 433 karma points
    Nov 02, 2017 @ 07:33
    Mads Sørensen
    0

    I'm still having the same issue :/

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Nov 02, 2017 @ 08:14
    Bjarne Fyrstenborg
    1

    Hi Mads

    I had an issue similar to this a couple of years ago: https://our.umbraco.org/projects/website-utilities/slimsy/slimsy-feedback/65306-GetResponsiveCropUrl-returns-different-src-after-Umbraco-upgrade

    You could try to adjust to thumbnail crop, but the issue is most likely because of a calculation issue and by default I think ImageProcessor add black (#000) as background color.

    If the images doesn't use transparency, a solution might be to add &bgcolor=fff or another color to match to background color of the page.

    You can also try to upgrade ImageProcessor to latest version.

    /Bjarne

  • 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