Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter dorelly2

    (@dorelly2)

    Ok, I found it myself.

    wp-content/plugins/envira-gallery-lite/includes/global/shortcode.php

    line 312-313:

    // These calls will generate thumbnails as necessary for us.
    $imagesrc = $this->get_image_src( $id, $item, $data );
    $image_src_retina = $this->get_image_src( $id, $item, $data, false, true );

    Just comment out these 2 lines – and that’s it:

    // These calls will generate thumbnails as necessary for us.
    //$imagesrc = $this->get_image_src( $id, $item, $data );
    //$image_src_retina = $this->get_image_src( $id, $item, $data, false, true );

    The first line generates the “whatever-640×480” thumbnail, the second one – the “whatever-1280×960” thumbnail.

    and now the gallery uses the original (full-size) uploaded images.

    Besides – these 2 thumbnails were never deleted – even after an image was removed from an Elvira gallery – obviously a bug.

    • This reply was modified 6 years, 3 months ago by dorelly2.
Viewing 1 replies (of 1 total)