Vincent Peugnet
Vincent Peugnet
Mmh, Where to put this button ? My first idea was to add it under the `media > edit` menu and apply it to selected images. But, the user can:...
Oh ! maybe the best solution would be to use this feature **during file import** ! I could add a checkbox saying: "convert images to webp and limit size to...
I did a first step which I like. Only using ImageMagick for now (but easy to add GD in the future. Currently, Image file are imported regularly into the media...
> To solve this, I should maybe store image in a tmp folder ? That is what I did in 823768040fe2d677c789c98ba722cd1a609c2dd5 It work fine locally, but on CLUB1 server, I...
I want to **avoid re-compression of already compressed images**. To have an idea of the compression level independently from compression algorithm, I'm adding a `bitperpixel()` method on Media image class....
I found out that PHP need at least v8.2 to get AVIF file height and width. So for now I'm by-passing this format for the optimizer.
Okay, I just added a manual entry about the optimizer.
New image optimizer feature is now merged with master branch. Params are: - max height: 1920px - max width: 1920px - max bit/pixel: 0.5
Oh ! Maybe there is a more interesting IDEA...! ## Add remote folders outside of virtual host W could allow user to add and manage remote folders that are outside...
Little problem: those remote files could not be opened directly as they are not accessibles via apache. for example it will be impossible to display pictures without creating a symlink