schmitzal / tinyimg

TYPO3-Extension which compresses images (png & jpg) uploaded in the backend with the tinypng API
GNU General Public License v3.0
15 stars 11 forks source link

Switch the upload bar when compressing #11

Closed dgorges closed 6 years ago

dgorges commented 7 years ago

A backendmodule where images are listed with a failed- or successtate. A label or state if the script works would be helpful and a nice to have feature would be to show how many percents have been saved with the compression.

schmitzal commented 7 years ago

Hi and thank you for your feature request!

A list of all images in the system could be really large if it's a big website. So we would need some sort of filtering or search. I need to think about that a bit more.

What I have planned to implement (if possible) is a "compressing" label on the upload progress bar, after the image got uploaded and compression started. Maybe followed by a "Compression saved you X% of your file size". Currently its staying at 100% while compressing which can take a few seconds. And at the moment it's only possible to see if compression is working by checking the file size before and after.

dgorges commented 7 years ago

Hi Alex, this list ist kind of large that is true. The main problem is when the ext is installed I am missing a feedback if the ext works. If the connection to tinypng is fine and how many percents of my images have been compressed. To test if an image is compressed and compare the image is a big of hard work if you have a large page. But the idea with the compressing button is a good one.

schmitzal commented 6 years ago

Feature completed but it's only working with TYPO3 8.7 as I'm not able to override the filelist module template on TYPO3 7.6.

2017-10-09_1714 2017-10-09_1748