<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>

CC BY-SA 3.0
2014-07-04T15:10:27.003Z
2014-07-04T15:10:27.003Z
Lindsey D
<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>

CC BY-SA 3.0
2017-06-24T17:01:15.707Z
2017-06-24T17:01:15.707Z
David Rhoden
<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>

CC BY-SA 3.0
2014-11-04T14:55:57.443Z
You should probably mark the question as answered if the solution under worked for you. It worked for me, at least.
peirix
<assets><image-transforms>
How do I force Craft to regenerate assets transform?
# 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 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.


---

