Cloudinary thumbnail creation for assets I realized Craft 3 generates its own thumbnails and does not use Cloudinary to do this on the CP. My question is, how and where should I modify the JavaScript code, or what is the best practice to use external generator.

What I would like to do is really just utilize the query string of Cloudinary instead of doing this on Craft side...?

So somehow I would like to overwrite this call, and change it:

SITE/cpresources/4c875891/thumb-30x30.jpg?v=1522966431


And I also would like to avoid the generate thumbnail:

http://tr3nds.test/index.php?p=admin/actions/assets/generate-thumb&amp;uid=7b78d4ed-9c3d-4193-89c0-f20e0d3c35be&amp;width=30&amp;height=30&amp;v=1523244927
You can catch the EVENT_GET_ASSET_THUMB_URL event in your plugin and return the $event-&gt;url:

   Event::on(Assets::class, Assets::EVENT_GET_ASSET_THUMB_URL, function(GetAssetThumbUrlEvent $event) {
            $event-&gt;url = $this-&gt;thumbUrl($event);
        });

   protected function thumbUrl($event)
      {
           return "{$this-&gt;cloudinary_ulr}/image/upload/w_{$event-&gt;width},h_{$event-&gt;height}/{$event-&gt;asset-&gt;filename}";
      }