WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 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: Filesystem API Keywords: reporter-feedback
Focuses: Cc:

Description

Hello,

The file system incorrectly displays images with a transparent background.

Please repair.

Thank you

Attachments (6)

obr�zek212.png (170.6 KB) - added by michalrama 2 months ago.
obr�zek56.png (145.2 KB) - added by michalrama 2 months ago.
obr�zek28.png (463.5 KB) - added by michalrama 2 months ago.
obr�zek53.png (128.3 KB) - added by michalrama 2 months ago.
obr�zek214.png (190.0 KB) - added by michalrama 2 months ago.
obr�zek22.png (75.2 KB) - added by michalrama 2 months ago.

Download all attachments as: .zip

Change History (8)

#1 follow-up: @karpstrucking
2 months ago

  • Keywords reporter-feedback added; needs-patch removed
  • Severity changed from major to minor

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?

#2 in reply to: ↑ 1 @michalrama
2 months 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.

Note: See TracTickets for help on using tickets.