media icon indicating copy to clipboard operation
media copied to clipboard

[FEATURE] Generate thumbnails by batch

Open fabarea opened this issue 10 years ago • 2 comments

Add limit when generating thumbnails more or less the same way the Core does for salted passwords. Generating thumbnails is very consuming resource wise. Goal is to avoid monopolizing the CPU too long.

fabarea avatar May 11 '15 13:05 fabarea

In Neos CMS, they tackled the problem as follows:

  • A thumbnail ViewHelper with a new option "async"
  • If this is set and a thumbnail doesn't exist yet, instead of generating the thumbnail and returning the URI, an "asynchronous image URI" is returned.
  • If the thumbnail exists, the "normal" URI is returned.

Furthermore, most thumbnails won't be visible in the viewport. It would make sense to lazy-load the thumbnails.

lorenzulrich avatar Dec 24 '15 15:12 lorenzulrich

And AFAIK the original task - generating thumbnails by batch - is already implemented.

lorenzulrich avatar Dec 24 '15 15:12 lorenzulrich