You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have AutoSmush configured only to optimize on resize/crop (variations). However, I can see from the logs that this does't work - the images are never optimized.
Having reviewed the code it appears that the hook is being added on line 1256 in the ready() function.
However, we return earlier in that function (line 1207) if the page is not an admin page, so the hook is never added.
Commenting out line 1207 causes images to be smushed when they're resized (i.e. on first load) as expected.
The text was updated successfully, but these errors were encountered:
I have AutoSmush configured only to optimize on resize/crop (variations). However, I can see from the logs that this does't work - the images are never optimized.
Having reviewed the code it appears that the hook is being added on line 1256 in the
ready()
function.However, we return earlier in that function (line 1207) if the page is not an admin page, so the hook is never added.
Commenting out line 1207 causes images to be smushed when they're resized (i.e. on first load) as expected.
The text was updated successfully, but these errors were encountered: