# Attachment\_fu Update Problem - Broken Images

**URL:** <https://www.ruby-forum.com/t/attachment-fu-update-problem-broken-images/102745>\
**Category:** Rails\
**Created:** [April 8, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/attachment-fu-update-problem-broken-images/102745 "2007-04-08T23:58:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunter\_h](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/bc79bd/32.png) [@hunter\_h](https://www.ruby-forum.com/u/hunter_h)\
**Post date:** [April 8, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/attachment-fu-update-problem-broken-images/102745/1 "2007-04-08T23:58:32Z")

</div>

Howdy,

It looks like one of the recent updates to attachment\_fu has changed  
the way it names/stores files in the filesystem. I’m guessing it was  
this one:

- add default ID partitioning for attachments

Anyway, my files used to be stored in directories named after the PK.  
Now it seems that things have changed and files are stored with a new  
scheme.

So, anyone have any suggestions as to how I can migrate to the new  
storage setup? All the images in my app are broken.

Thanks,  
Hunter
