sitegeist / sms-responsive-images

This TYPO3 extension provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.
GNU General Public License v2.0
34 stars 19 forks source link

Feature/processed files #44

Closed naturefund-falk closed 5 years ago

naturefund-falk commented 5 years ago

Currently the processing instructions differ for the fallback and the srcset images. The processing instructions contain additional entries for minWidth and maxWidth, even if they are not set in the tag. This causes typo3 to create two identical processed images for the same image width. I changed the processing instructions for the fallback image to contain the minWidth and maxWidth only if they are given. This way the fallback image does not create an additional entry in the processed files table.

s2b commented 5 years ago

Good catch, thanks! :)