$template_path = $this->baseurl.'/templates/'.$this->template; <img src="<?php echo $template_path."/images/image.png" srcset="<?php $template_path."/images/image@2x.png 2x" alt="">
<img src="/joomla/templates/my_template/images/image.png" srcset="/joomla/templates/my_template/images/image@2x.png 2x" alt="">
<img src="/joomla/templates/my_template/images/image.png" srcset="//joomla/joomla/templates/my_template/images/image@2x.png 2x" alt="">
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-09-19 16:13:36 |
Closed_By | ⇒ | mbabker |
I don't know how to add code here (!) but HTML output for srcset has Joomla base url included twice.
Duplicate of #17978