Search code examples
phpsymfonythumbnailssonata

Force Sonata to rebuild thumbs


I'm using Sonata ( http://sonata-project.org/bundles/media/2-2/doc/index.html ) in a project, and I have 50GB of thumbs at a resolution that I don't want anymore. I modified the resolution in the config file, but the thumbs still have the old resolution/size.

How can I force Sonata to rebuild all my thumbs?


Solution

  • This worked for me:

    php app/console sonata:media:sync-thumbnails sonata.media.provider.image default