Copied to clipboard

Flag this post as spam?

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


  • Paul de Quant 403 posts 1520 karma points
    Oct 10, 2019 @ 07:22
    Paul de Quant
    0

    PNGs appearing as black tiles in Media Section

    Hi,

    I'm using Umbraco 8.1.5 and I've noticed that when I upload a PNG file to the media section, the thumbnail shows as a black tile in the list view, but when I click the asset itself to view more details I can see the image fine.

    Then when I select the image to show on a page, it shows as black tile again.

    Has anyone else had this issue and is this a bug or some config that needs tweaking for PNG support.

    Thanks Paul

  • Nik 1617 posts 7263 karma points MVP 7x c-trib
    Oct 10, 2019 @ 07:50
    Nik
    0

    Hi Paul,

    Are you running your site in Azure / using Azure Blob Storage for media?

    Nik

  • Paul de Quant 403 posts 1520 karma points
    Oct 10, 2019 @ 08:00
    Paul de Quant
    0

    yes, I am.

  • Nik 1617 posts 7263 karma points MVP 7x c-trib
    Oct 10, 2019 @ 08:05
    Nik
    0

    It's an issue with Image Processor with no known fix:

    https://github.com/JimBobSquarePants/ImageProcessor/issues/747 https://github.com/JimBobSquarePants/ImageProcessor/issues/713

    https://github.com/JimBobSquarePants/ImageProcessor#roadmap

    Sorry to not have better news.

    Nik

  • Paul de Quant 403 posts 1520 karma points
    Oct 10, 2019 @ 08:10
    Paul de Quant
    0

    Hi Nik,

    Thanks for getting back to me. This is a real shame, guess I'll have to get the client to stick with JPGS instead and block the upload of PNGs.

    Cheers

    Paul

  • Nik 1617 posts 7263 karma points MVP 7x c-trib
    Oct 10, 2019 @ 08:15
    Nik
    0

    Yeah, it's a bit of a nightmare tbh. We've had it on 4 sites now and it's just a pain especially when you want transparent images for things.

    What's even stranger is that you'll find "some" pngs work but not all.

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Jan 13, 2021 @ 01:00
    Alex Skrypnyk
    0

    I'm seeing the issue with jpgs, strange enough but jpgs are displaying as a black box, any idea?

    Umbraco 7.15.4

  • Thomas 319 posts 606 karma points c-trib
    Jan 13, 2021 @ 08:30
    Thomas
    0

    Are you using slimsy ?

    like this furtherOptions:"&format=jpeg&bgcolor=fff")

    Converting a png to jpg ? That if bgcolor not added will give black bars

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Jan 13, 2021 @ 10:37
    Alex Skrypnyk
    0

    Hi Thomas

    I see the black box in the back office.

    Thanks,

    Alex

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Jan 13, 2021 @ 20:27
    Alex Skrypnyk
    0

    As you see an image shows as a black box in the media section. And it's happening only with jpg files

    enter image description here

  • PradBitt 2 posts 92 karma points hq
    Jan 14, 2022 @ 12:10
    PradBitt
    0

    Hi guys - We have located the issue on Umbraco Cloud:

    It's the - ImageProcessor.Web.Plugins.PostProcessor.dll - which is the issue. It looks like Azure and Post Processor don't work well together 😄

    Here is a discussion on one of the links: https://web.archive.org/web/20201206025015/https://github.com/JimBobSquarePants/ImageProcessor/issues/747

    Installing https://github.com/JimBobSquarePants/ImageProcessor/issues/747#issuecomment-567034862 There might be a fix in 1.5.0

    But the solution would be:

    1. Remove the Dll - ImageProcessor.Web.Plugins.PostProcessor.dll
    2. Restart site for good measure
    3. Delete the cache folder from the blob storage
    4. And restart the site again

    I hope this can help 😄

    //Prathees

Please Sign in or register to post replies

Write your reply to:

Draft