<p>It is very likely that your "File System Path" on the asset source is unsuitable for a local environment.</p>

<p>You can set the fileSystemPath in your config like this:</p>

<pre><code>'environmentVariables' =&gt; array(
    'fileSystemPath' =&gt; '../../public'
)
</code></pre>

<p>Then you can change your asset source settings to something like the following:</p>

<p><a href="https://i.sstatic.net/aREKd.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/aREKd.png" alt="craftcms asset source settings"></a></p>

CC BY-SA 3.0
2017-02-20T14:25:49.907Z
2017-02-20T14:25:49.907Z
joep
<p>Is there any reason why image transformations might not be working locally? I just get a bunch of these "<a href="http://site.dev/cpresources/transforms/7" rel="nofollow">http://site.dev/cpresources/transforms/7</a> 404 (Not Found)" as error messages. The image directory has the correct permissions...﻿</p>

CC BY-SA 3.0
2015-01-06T22:29:24.490Z
Check your `craft\storage\runtime\logs` files for any relevant errors?
Brad Bell
CC BY-SA 3.0
2015-08-31T14:47:31.757Z
Same problem here on a local installation. Any ideas?
Nathan D Huening
CC BY-SA 3.0
2015-08-31T15:38:20.173Z
Are your Asset upload paths using environment-specific values?
Michael Rog
CC BY-SA 3.0
2015-09-17T02:47:35.277Z
@MichaelRog It's the default HappyLager site, so nothing environment-specific. Not a single transform works: all URLs are '/cpresources/transforms/' and I've verified that the 'assets' folder has permission of 777. Totally puzzled.
Nathan D Huening
<image><image-transforms><permissions>
Performing Image Transformations Locally
# Performing Image Transformations Locally

(Asked by: username_0 on 2015-01-06)

Is there any reason why image transformations might not be working locally? I just get a bunch of these "<http://site.dev/cpresources/transforms/7> 404 (Not Found)" as error messages. The image directory has the correct permissions...﻿

**Tags:** image, image-transforms, permissions

> **Comments:**
> **username_1**: Check your `craft\storage\runtime\logs` files for any relevant errors?  
> **username_2**: Same problem here on a local installation. Any ideas?  
> **username_3**: Are your Asset upload paths using environment-specific values?  
> **username_2**: @MichaelRog It's the default HappyLager site, so nothing environment-specific. Not a single transform works: all URLs are '/cpresources/transforms/' and I've verified that the 'assets' folder has permission of 777. Totally puzzled.  

---

## 1 answers

### Answer by username_4 on 2017-02-20. Score: 1

It is very likely that your "File System Path" on the asset source is unsuitable for a local environment.
You can set the fileSystemPath in your config like this:
'environmentVariables' => array(
    'fileSystemPath' => '../../public'
)

Then you can change your asset source settings to something like the following:


---

