Quantcast
Viewing all articles
Browse latest Browse all 294639

Make possible to respond to image derivative creation

Sometimes we need to respond on new image derivate creation. Currently we can do this if we alter the image.style_public and image.style_private routes and replace Drupal\image\Controller\ImageStyleDownloadController::deliver with our own implementation.

I found that #2685905: Refactor ImageStyleDownloadController so derivatives can be generated by contrib modules is trying to solve this too but with a different approach.

If there would be a hook (image_derivative_created) we could replace most of these re-implementations with a simple hook implementation.


Viewing all articles
Browse latest Browse all 294639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>