mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
Issue #1342 - Correction for encoded urls.
This commit is contained in:
@@ -3449,9 +3449,12 @@ class e_parser
|
|||||||
|
|
||||||
if(strpos($file,'e_MEDIA')!==false || strpos($file,'e_THEME')!==false) //v2.x path.
|
if(strpos($file,'e_MEDIA')!==false || strpos($file,'e_THEME')!==false) //v2.x path.
|
||||||
{
|
{
|
||||||
$path = $tp->thumbUrl($file,null,null);
|
$path = $tp->thumbUrl($file,$parm,null);
|
||||||
|
|
||||||
$parm['srcset'] = $tp->thumbSrcSet($file, '2x');
|
if(empty($parm['x']))
|
||||||
|
{
|
||||||
|
$parm['srcset'] = $tp->thumbSrcSet($file, '2x');
|
||||||
|
}
|
||||||
|
|
||||||
if(empty($parm['w']))
|
if(empty($parm['w']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user