Hi there!
What are your default dimensions in Settings > Media? There are generally three default sizes for thumbnails: ‘thumbnail’, ‘medium’ and ‘large’. What happens if you try one of those instead of the dimensions? I mean, something like:
add_filter( ‘wpsl_thumb_size’, ‘custom_thumb_size’ );
function custom_thumb_size() {
$size = ‘thumbnail’;
return $size;
}
Does it work?
It changes to the dimension of 150×150 which is indeed my (smallest) registered thumbnail size being 150×150 pixels.
As my original image is only 249×50 it does not get all thumbnails created.
(only the smaller thumbnail sizes 150×150 and 100×100
I don’t know why this stopped working: it did work with ‘full’ size, but since today it does no longer display the full size. And nothing changed as far as plugins or themes goes.
Hi again,
Just to rule out things, could you please regenerate all your thumbnails? It can be easily accomplished via wp-cli or with a plugin like this one: regenerate thumbnails.
Let me know,
For some reason my mind is unable to comprehend, I replaced ‘full’ width ‘medium’ which did not change anything, but after entering ‘full’ again in the filter, I got the correct size again.