• I try to change the thumbnail size to full size (as my images are kept rather small)
    I’m using the filter I found on your site, put it in functions.php and try to set the full size of the image:

    add_filter( 'wpsl_thumb_size', 'custom_thumb_size' );
    
    function custom_thumb_size() {
        
        $size = 'full';
        
        return $size;
    }

    but I keep seeing the 100×100
    Does this not work with full size image?

    • This topic was modified 2 years, 6 months ago by HungryJos.
    • This topic was modified 2 years, 6 months ago by HungryJos.
Viewing 4 replies - 1 through 4 (of 4 total)
  • 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?

    Thread Starter HungryJos

    (@hungryjos)

    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,

    Thread Starter HungryJos

    (@hungryjos)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘THumbnail full size not loading’ is closed to new replies.