Quantum-Manager / tracker

Tracker for all questions about Quantum Manager.
3 stars 0 forks source link

Add an image compressor #177

Open wantoo opened 1 year ago

wantoo commented 1 year ago

The photo editor is very useful but could be enhanced with an image compression function. It happens too often that a beginner sends his pictures without worrying about their gigantic size! Services like ReSmush.it or TinyPNG would be a real plus.

Sizing images is not always enough, and using JPG compression is destructive. If you want to keep large images, the ideal is to pass them to the API of ReSmush.it or TinyPNG :

There is a good plugin, unfortunately it has not been ported to Joomla 4. Maybe we should check with the developer if he agrees to have his plugin ported to QuantumManager: PXLCompressor

Sulpher commented 1 year ago

The feature of integration with image compression service like TinyPNG is discussed. We're thinking to do it as an additional commercial plugin later. As for image editor itself - there is a compression ratio parameter, it is already existing.

Снимок экрана 2023-04-10 в 13 39 55
Sulpher commented 1 year ago

And another hint to use: you can set up resizing for images during upload. See Images tab in component options:

Снимок экрана 2023-04-10 в 13 46 42

You can set up width and height for custom folder like /images/user_uploads/ and all images will be cropped and resized. A good protection from managers who have no skills to work with sites. Bingo!