Skip to content

Commit

Permalink
Corrected creation of internal image urls.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtplexus committed Sep 4, 2014
1 parent aef632b commit f060143
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion View/Helper/ResizerHtmlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ public function image($path, $options = array()) {

// build the new url then send it on to parent's tag builder
$app = $this->resize_app;
$url = '?url=' . urlencode(html_entity_decode($this->url($path,true)));
$url = '?url=' . urlencode(html_entity_decode($this->assetUrl($path,array(
'fullBase'=>true,
'pathPrefix' => Configure::read('App.imageBaseUrl'),
))));
$container = '&container=' . $settings['resizer']['container'];
$refresh = '&refresh=' . $settings['resizer']['refresh'];

Expand Down

0 comments on commit f060143

Please sign in to comment.