I’m trying to import the image for some collections as transparent PNGs in order to add a list of collections to my menu.
Each mage is the logo of a vendor in a 700x700 png in sRGB created in photoshop and exported to web without any interlacing, compression and with transparency enabled.
Funny thing is that some of them show correctly on shopify, some of them have black background, some have a black bounding box with a very pale blue background and some have lots of artifacts in the background.
All of them are created and exported from the same file in layers using the same options, but I can’t figure out why some of them are failing, and others don’t.
there shouldn’t be any background on those images, they are pngs with transparent background
Not sure why they are showing like that in shopify, they work just fine elsewhere as shown below.
Unfortunately shopify’s forum doesn’t allow me to set colored background to the cells in this table to better illustrate, but these are the same images failing on our store once they are set as a collection image.
I need your store login details. Yes, I know your login details are confidential. For this second option, I have added your store to my Shopify partner account so I will check your code easily and manage what you think about it?
My problematic file was indeed in RGB with no other layer present, whilst I also made sure to export to the optimal PNG settings; and yet, pasting it onto a new Photoshop document (and removing the underlying layer) was the action that made it show up transparent on Shopify.
Yes, I have run into a similar bug! I have hundreds of product png images which have semi transparent shadows. Many of the images have been on the site for years without problems, but gradually the shadows in some of the images have turned opaque and black. It hasn’t affected all pngs and it seems to be quite random.
I have resaved the images in Photoshop using “Save for Web” and so far that seems to have worked. But we are worried that it will happen again. Shopify tech team were unable to give an adequate explanation, saying it was likely to be caused by a Private App, but our private Apps only have read permissions…
Sorry, I am not sure if I understand you correctly… Are you saying the problem is CSS?
If you look at the 2 image paths in my previous comment sent you will see there is no CSS involved just 2 images. One has a nice looking shadow one has a black block with no dithering where the shadow should be.