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.
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
Hi Paul,
Are you running your site in Azure / using Azure Blob Storage for media?
Nik
yes, I am.
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
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
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.
I'm seeing the issue with jpgs, strange enough but jpgs are displaying as a black box, any idea?
Umbraco 7.15.4
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
Hi Thomas
I see the black box in the back office.
Thanks,
Alex
As you see an image shows as a black box in the media section. And it's happening only with jpg files
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:
I hope this can help 😄
//Prathees
is working on a reply...