Expected behavior: 1. PNG Image w/ transparent background is added to collection via Shopify Admin/Products 2. Same Image w/ transparent background should be displayed
1. PNG image w/ transparent background uploaded as collection image 2. Upon upload, image appears correct 3. After save, image has been transformed (probably png to pjpg/jpeg) and transparency is lost. Transparent background replaced by black background.
Notes: - This only occurs randomly; approx 1 in 10 images that are all processed the same way will end up w/ a black background - No noticeable differences in file size for the images that are changed except that they are around 5.6 mb. There are images that do not show this issue at sizes below 5mb and above (7+ mb).
The issue shown step-wise:
1. Original Image:
2. After initial upload:
3. Before saving:
4. After saving: (Notice that the image is still transparent)
5. Upon refresh: Image has black background
I am a developer and have searched the codebase for our theme looking for indications of declared png to pjpg transformations. This is pointing to a transformation designated by the Shopify CDN. Can I declaratively program my theme somewhere to state that images should not be transformed? Do I use the img_url filter?