DPDK Architecture  ->  Bootstrap (v3.0.5)

Image Optimize
>= v2.5.1

This task will convert static images saved in the frontend/public/images/source folder.
Nesting images inside folders is also supported here.

Execution

This task can be executed by running the following command in your project:

node server.js imageOptimize

Example

Below is an example file/folder structure:

frontend/public/images/source
  frontend/public/images/source/folder1
    frontend/public/images/source/folder1/test.jpg
  frontend/public/images/source/image1.jpg

The structure will look like this after conversion:

frontend/public/images/dist
  frontend/public/images/dist/folder1
    frontend/public/images/dist/folder1/test.jpg
    frontend/public/images/dist/folder1/test.webp
  frontend/public/images/dist/image1.jpg
  frontend/public/images/dist/image1.webp

Note: You can only convert images when running in development mode

Last modifiedWednesday, July 28, 2021, 7:09:29 AM UTC
Last authorGlenn de Haan
Commit IDe89c1df