mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Image-preview path fix. Resize-on-Import added to Media-manager.
This commit is contained in:
@@ -1757,7 +1757,7 @@ class e_parse
|
||||
{
|
||||
if(substr($url,0,3)=="{e_") // Fix for broken links that use {e_MEDIA} etc.
|
||||
{
|
||||
$url = $this->replaceConstants($url);
|
||||
$url = $this->replaceConstants($url,'abs');
|
||||
}
|
||||
|
||||
if(!is_array($options))
|
||||
@@ -1766,6 +1766,8 @@ class e_parse
|
||||
}
|
||||
|
||||
if($raw) $url = $this->createConstants($url, 'mix');
|
||||
|
||||
// echo "<br />".$url;
|
||||
|
||||
$thurl = ($full ? SITEURL : e_HTTP).'thumb.php?src='.$url.'&';
|
||||
|
||||
|
Reference in New Issue
Block a user