Skip to content

Commit

Permalink
version 0.0.4
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Crawford <[email protected]>
  • Loading branch information
engram-design committed Sep 21, 2015
1 parent a8d7c77 commit ee23648
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ You'll be presented with a warning screen advising that the selected images will

## Changelog

#### 0.0.4

- Fix to make sure environment variables are parsed for asset sources.

#### 0.0.3

- Added batch processing for existing assets.
Expand Down
2 changes: 1 addition & 1 deletion imageresizer/ImageResizerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function getName()

public function getVersion()
{
return '0.0.3';
return '0.0.4';
}

public function getDeveloper()
Expand Down
2 changes: 1 addition & 1 deletion imageresizer/services/ImageResizerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private function _getImagePath($asset)
}
}

$sourcePath = $source->settings['path'];
$sourcePath = craft()->config->parseEnvironmentString($source->settings['path']);
$folderPath = $asset->getFolder()->path;

return $sourcePath . $folderPath . $asset->filename;
Expand Down

0 comments on commit ee23648

Please sign in to comment.