? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
7 Oct 2020

Closes #30975.

Summary of Changes

Fixes transparency being lost when cropping/resizing PNG images.

Testing Instructions

Go to edit template files in backend.
Select one of PNG images in images directory.
Use Crop and Resize buttons to crop/resize the image.

Note, because template is styled to have a black background behind transparent images, you'll have to inspect image files directly on your server or in the browser.

Actual result BEFORE applying this Pull Request

Transparency is lost, images get a black background.

Expected result AFTER applying this Pull Request

Images maintain transparency.

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 7 Oct 2020
avatar SharkyKZ SharkyKZ - change - 7 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Oct 2020
Category Administration com_templates
avatar Quy Quy - test_item - 9 Oct 2020 - Tested successfully
avatar Quy
Quy - comment - 9 Oct 2020

I have tested this item successfully on df6c803


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30977.

avatar gostn gostn - test_item - 10 Oct 2020 - Tested successfully
avatar gostn
gostn - comment - 10 Oct 2020

I have tested this item successfully on df6c803


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30977.

avatar alikon alikon - change - 10 Oct 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 10 Oct 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30977.

avatar richard67 richard67 - change - 10 Oct 2020
Labels Added: ? ?
avatar HLeithner
HLeithner - comment - 11 Oct 2020

Don't we support other types like webp?

avatar SharkyKZ
SharkyKZ - comment - 11 Oct 2020

No.

avatar HLeithner HLeithner - close - 11 Oct 2020
avatar HLeithner HLeithner - merge - 11 Oct 2020
avatar HLeithner HLeithner - change - 11 Oct 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-10-11 12:04:31
Closed_By HLeithner
Labels
avatar HLeithner
HLeithner - comment - 11 Oct 2020

Thanks

Add a Comment

Login with GitHub to post a comment