Opened 3 years ago
Last modified 21 months ago
#54202 new defect (bug)
Bad display of images with transparent background.
Reported by: | michalrama | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 5.8.1 |
Component: | Media | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
Hello,
The file system incorrectly displays images with a transparent background.
Please repair.
Thank you
Attachments (6)
Change History (12)
#1
follow-up:
↓ 2
@
3 years ago
- Keywords reporter-feedback added; needs-patch removed
- Severity changed from major to minor
#2
in reply to:
↑ 1
@
3 years ago
Replying to karpstrucking:
hi @michalrama, thank you for submitting this ticket!
can you please provide some additional details about the issue you've encountered and some context for the images you've uploaded?
Hi @karpstrucking
I'm sorry, I wrote it hastily.
Image 1. and 2. are the original images with a white background (only differs in resolution)
I wanted to set both of them a transparent background. I did this using IrfanView. However, I had to change the type to gif (originally it is jpg).
It works, and when you click on the image, you can see that the transparent background is displayed correctly. (3. and 4.)
The 5. image was created when I wanted to set the 4. image as a favicon using a theme. (I have no idea why create a separate file with a black background)
However, as you may notice in the first image, the file manager cannot display a thumbnail image with a transparent background.
In addition, the images are not incorrectly numbered. I numbered them exactly as they appear when clicked, so the thumbnail is also misassigned.
I hope I have explained it clearly.
#3
@
21 months ago
- Component changed from Filesystem API to Media
Hi @michalrama, thanks for opening this ticket and welcome back to Trac!
This appears to be related to the Media component, so I'll switch the Component
property so that this gets attention from the right place. 🙂
This ticket was mentioned in Slack in #core-media by antpb. View the logs.
21 months ago
#5
@
21 months ago
hi @michalrama ! Is it possible to share with us the source images you are having this issue with and also some more information about the environment you are seeing this in? The big thing that would be helpful is knowing if your environment uses ImageMagick or GD. If you have access to the server you can run something like php -i | grep 'GD\|ImageMagick'
to know which one your server uses.
It seems to me that you are using a gif with a transparent background and I currently see that working in my local environment using ImageMagick.
If you could provide us with the environment info and the source images that you are seeing this issue with, we can debug further. Thanks!
hi @michalrama, thank you for submitting this ticket!
can you please provide some additional details about the issue you've encountered and some context for the images you've uploaded?