? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
13 Oct 2020

Summary of Changes

Minor optimization, combines and moves pathinfo() calls out of the loop.

Testing Instructions

Test that multiple thumbnail files are created correctly. E.g. use this code:

$image = new Joomla\CMS\Image\Image(JPATH_ROOT . '/images/powered_by.png');
$image->createThumbs(['294x44', '147x22', '74x11']);

And check that 3 thumbnails are created in images/thumbs directory.

Expected result AFTER applying this Pull Request

Works like before

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 13 Oct 2020
avatar SharkyKZ SharkyKZ - change - 13 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Oct 2020
Category Libraries
avatar Quy Quy - test_item - 13 Oct 2020 - Tested successfully
avatar Quy
Quy - comment - 13 Oct 2020

I have tested this item successfully on 8b12434


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

avatar ceford ceford - test_item - 14 Oct 2020 - Tested successfully
avatar ceford
ceford - comment - 14 Oct 2020

I have tested this item successfully on 8b12434

I found a convenient place to put the test code was in administrator/components/com_banners/tmpl/banners/default.php - images created with and without the patch.


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

avatar Quy Quy - change - 14 Oct 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 14 Oct 2020

RTC


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

avatar richard67 richard67 - close - 15 Oct 2020
avatar richard67 richard67 - merge - 15 Oct 2020
avatar richard67 richard67 - change - 15 Oct 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-10-15 14:04:16
Closed_By richard67
Labels Added: ? ?
avatar richard67
richard67 - comment - 15 Oct 2020

Thanks!

Add a Comment

Login with GitHub to post a comment