Answers.Body: <p>If you simply go into your <code>craft_assettransformindex</code> table and <strong>empty it</strong>, that should trigger brand new transformations for everything.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-04T15:10:27.003Z
Answers.LastActivityDate: 2014-07-04T15:10:27.003Z
Answers.UserDisplayName: Lindsey D
Answers.Body: <p>Let me add, for those like me who just moved to a different server, before you dump the table, make sure your assets directory is writable by Craft. I did what Lindsey D suggested, and it recreated the table nicely (with no errors noted) but didn't actually create the images, because I didn't have the directory writable.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-24T17:01:15.707Z
Answers.LastActivityDate: 2017-06-24T17:01:15.707Z
Answers.UserDisplayName: David Rhoden
Body: <p>I had to add an image size in the assets transforms; all my pics were previously uploaded, but when I use <code>getUrl('headIpad')</code>, it makes urls like this:</p>
  
  <p><code>http://host.com/cpresources/transforms/4/</code></p>
  
  <p>Instead of this:</p>
  
  <p><code>http://host.com/uploads/team-photo/_headIpad/fall-back.jpg</code></p>
  
  <p>I tried to use generateTransformsBeforePageLoad in my config but Craft generates an error:</p>
  
  <blockquote>
    <p>Internal Server Error
    Image “fall-back.jpg” cannot be found.</p>
  </blockquote>
  
  <p>Any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-11-04T14:55:57.443Z
Comments.Text: You should probably mark the question as answered if the solution under worked for you. It worked for me, at least.
Comments.UserDisplayName: peirix
Tags: <assets><image-transforms>
Title: How do I force Craft to regenerate assets transform?
ThreadText: # How do I force Craft to regenerate assets transform?
  
  (Asked by: username_0 on 2014-07-04)
  
  I had to add an image size in the assets transforms; all my pics were previously uploaded, but when I use `getUrl('headIpad')`, it makes urls like this:
  
  `http://host.com/cpresources/transforms/4/`
  
  Instead of this:
  
  `http://host.com/uploads/team-photo/_headIpad/fall-back.jpg`
  
  I tried to use generateTransformsBeforePageLoad in my config but Craft generates an error:
  
  > Internal Server Error
  > Image “fall-back.jpg” cannot be found.
  
  Any ideas?
  
  **Tags:** assets, image-transforms
  
  > **Comments:**
  > **username_1**: You should probably mark the question as answered if the solution under worked for you. It worked for me, at least.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2014-07-04. Score: 18
  
  If you simply go into your `craft_assettransformindex` table and **empty it**, that should trigger brand new transformations for everything.
  
  
  ---
  
  ### Answer by username_3 on 2017-06-24. Score: 3
  
  Let me add, for those like me who just moved to a different server, before you dump the table, make sure your assets directory is writable by Craft. I did what username_2 suggested, and it recreated the table nicely (with no errors noted) but didn't actually create the images, because I didn't have the directory writable.
  
  
  ---
  
  