Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13184

    Is it possible to disable html generation of greyscaled images, to save some requests (to make page load faster).

    I know the display: none; tip but It’s not what I’m looking for.

    Thanks by advance

    #78176

    In helper-slideshow.php line 278:

    //get the filtered (eg greyscale) copy

    if($image_string && isset($avia_config[$this->img_size]) && function_exists(‘imagefilter’) && $this->allow_overlay == true)

    {

    $image_string = $image_string.avia_get_filtered_image_copy($image_string, $avia_config[$this->img_size]);

    }

    //if we didnt get a valid image from the above function set it directly

    if(!$image_string) $image_string = $slide;

    Comment that code, it will disable grey thumb in html.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Disable greyscale images in html’ is closed to new replies.