diff --git a/modules/pantheon/pantheon_api/pantheon_api.module b/modules/pantheon/pantheon_api/pantheon_api.module index ecc179c1a..27a901467 100644 --- a/modules/pantheon/pantheon_api/pantheon_api.module +++ b/modules/pantheon/pantheon_api/pantheon_api.module @@ -35,7 +35,7 @@ function pantheon_api_image_path_flush($path) { $paths = array(); foreach($styles as $style) { $image_path = image_style_path($style['name'], $path); - $paths[] = file_uri_target($image_path); + $paths[] = '/' . file_uri_target($image_path); } if (count($paths) > 0 && function_exists('pantheon_bulk_file_delete')) { pantheon_bulk_file_delete($paths);