Any web project has basically 4 kind of places where images reside:
- In the CSS;
- In a font file (think at icons);
- In the cloud (think at AWS S3);
- In the project itself as static files.
Symfony’s Webpack Encore is great to manage the first two places as it is able to manage the images referenced in the CSSes and to manage fonts (as they are handled as CSSes are).
The third group of images, the ones in the cloud, have not to be managed by Webpack but by another bundle like LiipImagineBundle.
So we are left only with the fourth group: the static images.read more