Close

Homepage Slider on Mobile

GreatAdventure
8 years ago
#10095 Quote
Avatar
  • 30
Based on Google speed test it appears that the full size HomePageSlider is being used on mobile devices and is only being resized. Is it possible for the sliders to use scaled down picture sizes for mobile devices?

Here is what it says on the speed test.

Compressing and resizing http://www.adventuregear.ca/content/images/thumbs/0008177.jpeg could save 56.9KiB (90% reduction).

The 0008177.jpg is one of the homepage slider images.

Thanks,
Shawn
Deni
8 years ago
#10099 Quote
Avatar
  • Moderator
  • 389
GreatAdventure wrote:
Based on Google speed test it appears that the full size HomePageSlider is being used on mobile devices and is only being resized. Is it possible for the sliders to use scaled down picture sizes for mobile devices?

Here is what it says on the speed test.

Compressing and resizing http://www.adventuregear.ca/content/images/thumbs/0008177.jpeg could save 56.9KiB (90% reduction).

The 0008177.jpg is one of the homepage slider images.

Thanks,
Shawn


Hi, 

Yes, the Anywhere Sliders plugin does not support mobile scaling of images.
But I think there is a reason for this. If you open the site on mobile device in portrait mode, it will be let`s say 400px wide and you will load the slider images with width 400. Then if you rotate the device in landscape the images will be blurred.

There is a variant to make the sliders work via ajax. When they load, they just check the dimensions of the screen and then send an AJAX request to the server to load the images with the specified width.

You can suggest this in our user voice portal !
Best Regards,
Mladen Staykov
Nop-Templates.com