User tests: Successful: Unsuccessful:
Pull Request for no issue
This PR will replace the hard coded <img src="" alt=""/>
by HTMLHelper::_('image',$src,$alt,$data)
for the default output of module mod_bannsers
The HTMLHelper::_('image'
will render the JLayout joomla.html.image
joomla-cms/libraries/src/HTML/HTMLHelper.php
Line 731 in c201854
In cases a Frontend Developer created a template override of this JLayout, the changed can profit too.
( in my case... I've created a template override to be able to use imagekit.io for image rendering... others might create an override to use Cloudinary)
Before and after should look the same... only the way the code is generated changed.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Category | ⇒ | Modules Front End |
Status | New | ⇒ | Pending |
Labels |
Added:
PR-4.3-dev
|
After discussion on Joom.la/chat in channel PB Buq Squad we've concluded that the JLayout should be used instead of HTMLHelper and it should be a PR on 5.0.
Therefor I close this PR and create a proper new one
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-05-17 10:17:11 |
Closed_By | ⇒ | hans2103 |
Should it not be
LayoutHelper::render('joomla.html.image',
?