No, nothing to do with changing existing settings.
But it does relate to the ‘Crop thumbnail to exact dimensions’ setting there.
Your code is assuming the thumbnail width matches the ‘Width’ configured here, when actually the width may have been cropped.
Test yourself with say uploading a 1000×6000 image. Look at the image thumbnail in slider mode on a smaller screen size and observe that the wrong thumbnail is being picked.
-
This reply was modified 4 years, 4 months ago by gamerevolt.