From 1bc0cf7a8d3a877f9a33cbb51e116f026a011501 Mon Sep 17 00:00:00 2001 From: jor3l Date: Tue, 11 Feb 2014 10:37:28 -0500 Subject: [PATCH] Implements assetUrl function to get the image working for Themes, this also returns a full path --- View/Helper/TimthumbHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/View/Helper/TimthumbHelper.php b/View/Helper/TimthumbHelper.php index 4310aac..363746c 100644 --- a/View/Helper/TimthumbHelper.php +++ b/View/Helper/TimthumbHelper.php @@ -86,7 +86,7 @@ private function getTimthumbImageUrl($path, $timthumbOptions = array()) { $timthumbOptions = array_merge( array( - 'src' => $this->request->base . $basePath . $path + 'src' => $this->Html->assetUrl($path, array('fullBase' => true, 'pathPrefix' => IMAGES_URL)) ), $this->_defaults, $timthumbOptions