User tests: Successful: Unsuccessful:
Minor optimization, combines and moves pathinfo() calls out of the loop.
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.
Works like before
No.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
I have tested this item
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.
| Status | Pending | ⇒ | Ready to Commit |
RTC
| 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:
?
?
|
||
Thanks!
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.