Creating a custom image structure
0
Shopware has an inbuilt enviroment variable called: SHOPWARE_CDN_STRATEGY_DEFAULT
.
If you need a custom media structure path, or have tried migrating from a local enviroment to a production enviroment where your images suddenly is missing, then SHOPWARE_CDN_STRATEGY_DEFAULT
is your goto.
This enviroment variable is responsible for the image path you find under /public/media
and /public/thumbnails
, where the default value for dockware is physical_filename
, and the default solution for bin/console system:setup
is id.
There are no comments yet
Be the first one to comment