yomotsu / gl-slideshow

A JavaScript library for advanced 2D slideshow with WebGL, that provides variety of beautiful effects
83 stars 12 forks source link

How to use responsive images for slide show #9

Open ashehzadgec opened 3 years ago

ashehzadgec commented 3 years ago

Hy there

Thanks for this easy to use gl-slider and it's amazing. The problem is how I can use responsive images in these slideshows depending on the screen size.

Regards Shehzad Asif Front End Web Developer

yomotsu commented 3 years ago

Thanks for using the lib. check to see this example http://yomotsu.github.io/gl-slideshow/examples/responsive.html

offstd commented 3 years ago

@ashehzadgec You can, providing the image aspectRatio is works as expected.

@yomotsu Thanks for this AMAZING lib, i was wondering how to use GL Transitions, your lib did the trick. Thanks for such an amazing contribution.