Answers.Body: <p><strong>Solution:</strong> </p>
  
  <p>I have this line inside my config.
  <code>define('BASEPATH', realpath(dirname(__FILE__) . '/../') . '/');</code></p>
  
  <p>And inside the imager config file <code>imager.php</code> I have: 
  <code>'.dev' =&gt; array('imagerSystemPath' =&gt; str_replace('craft/','images/', BASEPATH),</code></p>
  
  <p>So, make sure the paths are all set according to your environment / directory structure.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-17T13:54:12.573Z
Answers.LastActivityDate: 2017-04-17T13:54:12.573Z
Answers.UserDisplayName: Wieger Jelsma
Body: <p>I'm just trying out the <a href="https://github.com/aelvan/Imager-Craft#usage" rel="nofollow noreferrer">imager plugin</a>. It looks promising!
  I've set up the first usage example but I don't see any image on my site in the browser. The image is uploaded properly to the asset source but it seems that Imager is placing its transforms in a subfolder (in this case: '7' ->  <a href="http://craft-imager.dev/imager/images/7/nature-13_d4e4e04a52bfbdbeab5ba4d2cf1d1390.jpg" rel="nofollow noreferrer">http://craft-imager.dev/imager/images/7/nature-13_d4e4e04a52bfbdbeab5ba4d2cf1d1390.jpg</a>)</p>
  
  <p>The subfolder '7' doesn't exists on my machine.. </p>
  
  <p>I did some digging around, but I can't figure out what's wrong. The directory 'imager/images' exists and is writable by PHP.</p>
  
  <p>Any idea?
  Thanks in advance!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-20T13:51:23.520Z
Comments.Text: So, Imager outputs the url above in the template, but the file doesn't exist on the server? Have you customized your `imagerSystemPath` config setting? What platform are you on?
Comments.UserDisplayName: André Elvan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-20T15:57:21.443Z
Comments.Text: Hi André, Yes, that's what Imager outputs. The file doesn't exists on the server. I didn't customize the imagerSystemPath. It's set to: `$_SERVER['DOCUMENT_ROOT'] . '/imager/'`. I created the `imager` directory, but that didn't help. I also created the `images` directory inside the `imager` directory, but that didn't help either. Any idea? The following code (good old Craft code) shows the image ok by the way; `{% set image = craft.assets().limit(1).first() %} <img src="{{ image.getUrl({ width: 1000 }) }}">` Thanks for your help!
Comments.UserDisplayName: Wieger Jelsma
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-20T15:59:22.513Z
Comments.Text: I'm on a Mac. OS X El Capitan running Apache and PHP7 locally.
Comments.UserDisplayName: Wieger Jelsma
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-20T16:07:45.670Z
Comments.Text: I took another look at the imagerSystemPath ;) Thanks! That worked!
Comments.UserDisplayName: Wieger Jelsma
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-20T19:47:57.153Z
Comments.Text: Ok, had you actually overridden it with an incorrect path?
Comments.UserDisplayName: André Elvan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-21T08:47:45.850Z
Comments.Text: I had left it untouched. So the default value was active I guess.
Comments.UserDisplayName: Wieger Jelsma
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-11T23:02:09.563Z
Comments.Text: Would you mind adding what worked for you as an official answer @WiegerJelsma in case someone else runs into this?
Comments.UserDisplayName: Brad Bell
Tags: <image-transforms><plugin-imager>
Title: Imager resized image not shown (404)
ThreadText: # Imager resized image not shown (404)
  
  (Asked by: username_0 on 2017-03-18)
  
  I'm just trying out the [imager plugin](https://github.com/aelvan/Imager-Craft#usage). It looks promising!
  I've set up the first usage example but I don't see any image on my site in the browser. The image is uploaded properly to the asset source but it seems that Imager is placing its transforms in a subfolder (in this case: '7' -> <http://craft-imager.dev/imager/images/7/nature-13_d4e4e04a52bfbdbeab5ba4d2cf1d1390.jpg>)
  
  The subfolder '7' doesn't exists on my machine..
  
  I did some digging around, but I can't figure out what's wrong. The directory 'imager/images' exists and is writable by PHP.
  
  Any idea?
  Thanks in advance!
  
  **Tags:** image-transforms, plugin-imager
  
  > **Comments:**
  > **username_1**: So, Imager outputs the url above in the template, but the file doesn't exist on the server? Have you customized your `imagerSystemPath` config setting? What platform are you on?  
  > **username_0**: Hi username_1, Yes, that's what Imager outputs. The file doesn't exists on the server. I didn't customize the imagerSystemPath. It's set to: `$_SERVER['DOCUMENT_ROOT'] . '/imager/'`. I created the `imager` directory, but that didn't help. I also created the `images` directory inside the `imager` directory, but that didn't help either. Any idea? The following code (good old Craft code) shows the image ok by the way; `{% set image = craft.assets().limit(1).first() %} <img src="{{ image.getUrl({ width: 1000 }) }}">` Thanks for your help!  
  > **username_0**: I'm on a Mac. OS X El Capitan running Apache and PHP7 locally.  
  > **username_0**: I took another look at the imagerSystemPath ;) Thanks! That worked!  
  > **username_1**: Ok, had you actually overridden it with an incorrect path?  
  > **username_0**: I had left it untouched. So the default value was active I guess.  
  > **username_2**: Would you mind adding what worked for you as an official answer @username_0 in case someone else runs into this?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-04-17. Score: 1
  
  **Solution:**
  
  I have this line inside my config.
  `define('BASEPATH', realpath(dirname(__FILE__) . '/../') . '/');`
  
  And inside the imager config file `imager.php` I have:
  `'.dev' => array('imagerSystemPath' => str_replace('craft/','images/', BASEPATH),`
  
  So, make sure the paths are all set according to your environment / directory structure.
  
  
  ---
  
  