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

    Hello, I have the following problem with the “Full Screen Slider” module:
    Original Image 1920x1280px -> 137 kb
    Image resized in 1500x1113px -> 1,1 Mb (Automatic Resize for this module).
    My question is: Can I somehow force this module to ALWAYS extract the original image instead of that 1500px version?
    Due to this, our site weighs 3mb, unnecessarily increasing the loading time.

    Maybe from the functions?


    Hey Marcos Q.,

    Thank you for the inquiry.

    We can set the slider’s Styling > Slideshow Image Size to “No Scaling” to display the original image instead of the thumbnail. We can also adjust the default quality of the thumbnails a bit to decrease their file size.

    Please add this snippet in the functions.php file.

     function av_return_100(){ return 80; }
      add_filter('jpeg_quality', 'av_return_100');
      add_filter('wp_editor_set_quality', 'av_return_100');

    Default value is 100.

    Best regards,

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