Cache/ColdCache & checking for ungenerated image transforms
Set generateTransformsBeforePageLoad in your config/general.php file.

'generateTransformsBeforePageLoad' =&gt; true,



  Configures Craft to generate new image transforms right when getUrl() is called, rather than when the browser first requests the image.