Body: <p>I am having some odd behavior with an assets field.</p>
  
  <p>I have an assets field that pulls a series of images. The template pulls the image transforms using {{ asset.getUrl('galleryThumb') }}. Odd thing is, the first image added always references the /cpresources/transforms/(number)b and not the actual file. All the other files work as expected.</p>
  
  <p>I have tried clearing the caches. I tried a rinkydink solution of uploading a dummy image, making it the first and then deleting it... which worked until I cleared the caches again which made the first real image disappear again.</p>
  
  <p>This happens also if I change the getUrl to another transform or even just the {{ asset.url }} so I am assuming it is the field.</p>
  
  <p>The db assettransformsindex has a "0" in the fileExists column, but if I look in the actual transforms folder, it's there and was created.</p>
  
  <p>The field is an assets field set to go to a specific folder in the path settings of the assets field I have the name of the folder(set to 777 out of frustration) "before-and-after" (without quotes and no slashes).</p>
  
  <p>I've seen other questions here regarding images referrencing the /cpresources/transforms and tried all the solutions but this slightly different as it is only one image(the first) of a series.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-21T14:38:43.480Z
Comments.Text: The image in question doesn't happen to have weird characters in its filename? Accented characters, special letters, etc?
Comments.UserDisplayName: André Elvan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-21T14:39:02.217Z
Comments.Text: Do you have [GenerateTransformsBeforePageLoad](http://buildwithcraft.com/docs/config-settings#generateTransformsBeforePageLoad) set in your config/general.php?
Comments.UserDisplayName: Marion Newlevant
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-21T15:21:13.257Z
Comments.Text: Hmm.. @aelvan is probably right and there's something special to that image file in question. You said you actually solved the issue by replacing it with a new "dummy" image, right?
Comments.UserDisplayName: carlcs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-21T15:35:42.477Z
Comments.Text: @aelvan unless you call a dash weird, no.
Comments.UserDisplayName: AbbeyDesign
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-21T15:45:01.700Z
Comments.Text: Can you check your craft/storage/runtime/logs files for any [error] or [warning] logs that might be related?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-21T16:20:17.340Z
Comments.Text: It seems to have fixed itself... The db now has all the files updated to "1". I had before tried changing the config before like @MarionNewlevant suggested without success... tried again and maybe it just needed a couple of tries.
Comments.UserDisplayName: AbbeyDesign
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-21T21:24:09.527Z
Comments.Text: Hi @AbbeyDesign, welcome to Craft SE! Since this appears to have been an isolated incident which mysteriously resolved itself, we're going to close it as a bug report.
Comments.UserDisplayName: Lindsey D
Tags: <assets><image-transforms>
Title: First Image in a Series always references /cpresources/transforms/
ThreadText: # First Image in a Series always references /cpresources/transforms/
  
  (Asked by: username_0 on 2014-08-21)
  
  I am having some odd behavior with an assets field.
  
  I have an assets field that pulls a series of images. The template pulls the image transforms using {{ asset.getUrl('galleryThumb') }}. Odd thing is, the first image added always references the /cpresources/transforms/(number)b and not the actual file. All the other files work as expected.
  
  I have tried clearing the caches. I tried a rinkydink solution of uploading a dummy image, making it the first and then deleting it... which worked until I cleared the caches again which made the first real image disappear again.
  
  This happens also if I change the getUrl to another transform or even just the {{ asset.url }} so I am assuming it is the field.
  
  The db assettransformsindex has a "0" in the fileExists column, but if I look in the actual transforms folder, it's there and was created.
  
  The field is an assets field set to go to a specific folder in the path settings of the assets field I have the name of the folder(set to 777 out of frustration) "before-and-after" (without quotes and no slashes).
  
  I've seen other questions here regarding images referrencing the /cpresources/transforms and tried all the solutions but this slightly different as it is only one image(the first) of a series.
  
  **Tags:** assets, image-transforms
  
  > **Comments:**
  > **username_1**: The image in question doesn't happen to have weird characters in its filename? Accented characters, special letters, etc?  
  > **username_2**: Do you have [GenerateTransformsBeforePageLoad](http://buildwithcraft.com/docs/config-settings#generateTransformsBeforePageLoad) set in your config/general.php?  
  > **username_3**: Hmm.. @aelvan is probably right and there's something special to that image file in question. You said you actually solved the issue by replacing it with a new "dummy" image, right?  
  > **username_0**: @aelvan unless you call a dash weird, no.  
  > **username_4**: Can you check your craft/storage/runtime/logs files for any [error] or [warning] logs that might be related?  
  > **username_0**: It seems to have fixed itself... The db now has all the files updated to "1". I had before tried changing the config before like @username_2 suggested without success... tried again and maybe it just needed a couple of tries.  
  > **username_5**: Hi @username_0, welcome to Craft SE! Since this appears to have been an isolated incident which mysteriously resolved itself, we're going to close it as a bug report.  
  
  ---
  
  ## 0 answers
  
  