The idea behind this plugin is to provide useful functions for theme developers in smarty.
You generate with this function for every uploaded image custom thumbnails.
Following parameters are available
- id / path
- width
- height
- keepProportion
- quality
All images are generated using Shopware default Thumbnail Generator. So also all images are optimized
Examples
<img src="{thumbnail id=739 width=1920 height=1920}">
<img src="{thumbnail path=media/image/foo.png width=1920 height=1920}">
- Shopware 5.5
- Download latest release
- Extract the zip file in
shopware_folder/custom/plugins/
Feel free to fork and send pull requests!
This project uses the MIT License.