Rework derivativ folder organisation

Created on 2 April 2024, 3 months ago

Problem/Motivation

The current derivativ file structure contains a number of unnecessary redundancies in folders names.
Replace the current structure :
contextual/styles/[style_name]/[Crop_id]/[scheme]/[file_path]/[file_name]

With this structure the whole file_path are duplicated for each contextual derivative.

Proposed resolution

We can simplify the architecture of folder by using "crop_id" as the last key.

contextual/styles/[style_name]/[scheme]/[file_path]/[file_name_without_extention]/[crop_id].[extension]

With that, we limit all "unnecessary" folder (each style/image couple) become an unique folder_path, and all contextuals in it.

✨ Feature request
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡«πŸ‡·France DrDam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024