?
avatar hotthemes
hotthemes
19 Sep 2017

Steps to reproduce the issue

$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="">

Expected result

<img src="/joomla/templates/my_template/images/image.png" srcset="/joomla/templates/my_template/images/image@2x.png 2x" alt="">

Actual result (wrong path for srcset)

<img src="/joomla/templates/my_template/images/image.png" srcset="//joomla/joomla/templates/my_template/images/image@2x.png 2x" alt="">

System information (as much as possible)

Attachedsysteminfo-2017-09-19T18-07-30+02-00.txt

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar hotthemes hotthemes - open - 19 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Sep 2017
avatar mbabker mbabker - change - 19 Sep 2017
The description was changed
avatar mbabker mbabker - edited - 19 Sep 2017
avatar mbabker
mbabker - comment - 19 Sep 2017

Duplicate of #17978

avatar mbabker mbabker - change - 19 Sep 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-09-19 16:13:36
Closed_By mbabker
avatar mbabker mbabker - close - 19 Sep 2017
avatar hotthemes
hotthemes - comment - 19 Sep 2017

I don't know how to add code here (!) but HTML output for srcset has Joomla base url included twice.


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

Add a Comment

Login with GitHub to post a comment