The new plugin "Scale attachments" helps to automatically scale attachments that are uploaded to your website to a desired size. This happens automatically after the upload. The maximum size (in pixels) of the file attachments can be set in the ACP (option: Max size of Attachments).
After the upload the attachments are not scaled!
Unfortunately, it is currently not really possible to edit file attachments during the upload in such a way that the correct size is displayed. Therefore, the old size of the file attachment is displayed immediately after the upload. However, the size is correctly stored in the article itself.
Is it possible to scale old attachments?
No, the plugin only works for newly uploaded attachments. It is not possible to scale old attachments.
The plugin is available on GitHub and released under GPL 3.0 and the source code can be found here: https://github.com/WCFLabs/com.wcflabs.scaleAttachments
A packed package can be downloaded here: https://github.com/WCFLabs/com…labs.scaleAttachments.tar