Support » Plugin: Grid Plus - Unlimited grid layout » Grid pulls full size images not thumbnails

  • Resolved daenningas


    I have just started using the plugin, which I like. Reviewing Google page speed tests I see the full size images are being pulled.

    Are there any options or some code I can alter to pull the thumbnail size images to use in grids?

    Thank you in advance,


Viewing 4 replies - 1 through 4 (of 4 total)
  • Self resolve.

    Changed line 313 to call the default of ‘thumbnail’, instead of ‘full’.

    $orig_image = wp_get_attachment_image_src($attachment_id, ‘full’);

    $orig_image = wp_get_attachment_image_src($attachment_id);

    Anyone who is interested in speeding up their page load, improving their Google page speed test score will probably be interested in this.

    Suggest this is included in the next update.

    Leaving as unresolved, as though I have my fix I would like to see this update published to the wider audience.

    I have actually found wp_get_attachment_image_src is called a couple of times in the plugin. Though the one in the was the only one I needed to update.

    Emailed the developer asking to update the plugin with this fix.

    Plugin Author g5theme


    Thanks for let me know. I added schedule for this.
    My solution: add options to choose thumbnail or fullsize for it on next version
    Thanks & hope you like my plugins.

    Sounds great. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.