WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Content Gallery
[resolved] How do I stop Thumbnails Loading? (2 posts)

  1. Slicer
    Member
    Posted 2 years ago #

    I have noticed that this plugin loads up the thumbnails for the carousel in the source code, even if you don't have a carousel and they are not displayed on the page. This is not efficient.

    Is there any way to disable the loading of the thumbnails altogether?

    http://wordpress.org/extend/plugins/dynamic-content-gallery-plugin/

  2. Slicer
    Member
    Posted 2 years ago #

    Hi, I solved this myself, here's how...

    Go to plugins > editor > dynamic content gallery

    Select to edit: dynamic-content-gallery-plugin/includes/dfcg-gallery-constructors.php

    Then remove the lines that contain:

    // Get the thumbnail - uses Post Thumbnails if AUTO images are used
    $thumb_html = dfcg_get_thumbnail($post->ID, $image_src, $post >post_title);

    and

    $output .= "\n\t" . $thumb_html;

    There are three instances of each line, you will be removing six in total.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic