Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Turbinio

    (@turbinio)

    I have noticed that the main image sizes are quite big in file size, which I will be reducing, but I’m still curious to know how the thumbnails are supposed to work if they are still loading the full size image in the background.

    Isn’t the point of a thumbnail supposed to avoid stuff like this? Maybe I just messed up somewhere when I uploaded the images?

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    Hmmm…It kinda looks like your gallery markup is printing out a bit different than what is packaged in core.

    WordPress Gallery typically looks something like this:

    <div id='gallery-1' class='gallery galleryid-4 gallery-columns-3 gallery-size-thumbnail'>
    
         <figure class='gallery-item'>
    
              <div class='gallery-icon landscape'>
    
                   ...

    The gallery markup on the site you posted in the previous comments looks like this:

    <div id="gallery-1" class="gallery galleryid-788 wpex-gallery">
    
         <div class="gallery-item span_1_of_4 col col-1">
    
              <div class="gallery-icon">
    
                   ...

    I’m guessing that your theme is actually using a filter to modify the gallery markup that is generated by WordPress. You could probably find and update that filter to pull in the thumbnail image instead of the full sized image.

    Are you familiar with creating child themes?

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    BTW, I really like your site!

    Thread Starter Turbinio

    (@turbinio)

    Thanks for getting back to me!

    The base theme I’m using is Thunder, which I’ve built a child theme on top of, this is my first attempt at using WordPress so I’ve still got a bit to learn, obviously.

    I knew something would have had to be off, I’ll have to investigate this a bit further, thanks for setting me in the right direction.

    And thanks for the compliment!

    Thread Starter Turbinio

    (@turbinio)

    Looks like there was a check box that was enabled in the theme that was adjusting the gallery output!
    Switched it off, now it’s all good.

    Thanks again

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Full size images are loading (scaled) not thumbnails’ is closed to new replies.