Symfony, Liip Imagine bundle not working on server in prod environment
Just experienced a similar problem on my local machine, however still in dev environment.
For me, I was missing group writable permission on the default media/cache folder, which stayed empty after a liip:imagine:cache:remove and page reload. Thus images were linking to empty folder.
To fix, I first made sure that Group was set to Apache's _www (mac) / www-data (linux), e.g.
- sudo chgrp -R www-data web/media/cache
Then made sure the folder was set to readable, writable and executable, e.g.
- sudo chmod -R g+rwx web/media/cache
Hope this helps...