core icon indicating copy to clipboard operation
core copied to clipboard

Enhance thumbnails folder structure

Open rogelio-blanco opened this issue 11 years ago • 0 comments

dotCMS is not storing generated thumbnails inside of inode folder, it includes them into the second letter of inode folder, which can be combined with other generated images from different inodes that begins with the same 2 letters.

In order to do an efficient clean up of thumbnails, its necessary to generate them inside of the inode folder, similar to file assets. Currently when there is a clean up of the thumbnails it removes all the generated file under the 2 inode letter.

Example:

  • Currently
.../assets/clean/assets/dotGenerated/5/5/dotGenerated_thumbnail_17a74dfdbdf5356bf0ee2c637afaeea5.png
  • After enhancement
.../assets/clean/assets/dotGenerated/5/5/5599db88-2d55-435d-8a16-c9bc75016477/dotGenerated_thumbnail_17a74dfdbdf5356bf0ee2c637afaeea5.png

rogelio-blanco avatar Jun 22 '15 16:06 rogelio-blanco