1
0
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:
CaMer0n
2011-08-22 23:52:45 +00:00
parent 897192893c
commit 4bc7f70dbd
2 changed files with 48 additions and 3 deletions

View File

@@ -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.'&amp;';