xperseguers / t3ext-image_autoresize

TYPO3 Extension image_autoresize. Simplify the way your editors may upload their images.
https://extensions.typo3.org/extension/image_autoresize
GNU General Public License v3.0
16 stars 22 forks source link

[Fix][critical] Delete temporary created images in typo3temp/assets/images, if skipped #90

Closed tobiasgraeber closed 11 months ago

tobiasgraeber commented 11 months ago

@xperseguers this is a small change but can have a huge impact, if i an not wrong:

What it does:

This change should delete the temporary created images in typo3temp/assets/images if they have been skipped (If conversion leads to same or bigger file (rounded to 10KB to accomodate tiny variations in compression)). Otherwhise this can lead to a huge impact, cause the temporary copied files will stay in typo3conf/assets/images and consume a huge amount of unnessessary diskspace (if not cleaned up otherwise) ...